cosmic::widget::spin_button

Function vertical

source
pub fn vertical<'a, T, M>(
    label: impl Into<Cow<'a, str>>,
    value: T,
    step: T,
    min: T,
    max: T,
    on_press: impl Fn(T) -> M + 'static,
) -> SpinButton<'a, T, M>
where T: Copy + Sub<Output = T> + Add<Output = T> + PartialOrd,
Expand description

Vertical spin button widget.