Function cosmic::widget::spin_button
source ยท pub fn spin_button<'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>
Expand description
Horizontal spin button widget.