Trait dui::callback::callbacks::HelpCb
[−]
[src]
pub trait HelpCb where
Self: Element + 'static, { fn set_help_cb<F>(&mut self, cb: F) -> Self
where
F: Callback<(Self,)>, { ... } fn remove_help_cb(&mut self) -> Option<Box<Callback<(Self,)>>> { ... } }
Action generated when the user press F1 at a control.
CallbackReturn::Close
will be processed.
Provided Methods
fn set_help_cb<F>(&mut self, cb: F) -> Self where
F: Callback<(Self,)>,
F: Callback<(Self,)>,