Trait droom_ui::callback::callbacks::SpinCb
[−]
[src]
pub trait SpinCb where Self: Element + 'static { fn set_spin_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, i32)> { ... } fn remove_spin_cb(&mut self) -> Option<Box<Callback<(Self, i32)>>> { ... } }
Action generated when a spin button is pressed.
Provided Methods
fn set_spin_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, i32)>
fn remove_spin_cb(&mut self) -> Option<Box<Callback<(Self, i32)>>>
Implementors
impl SpinCb for Text