Trait dui::callback::callbacks::EnterWindowCb
[−]
[src]
pub trait EnterWindowCb where
Self: Element + 'static, { fn set_enterwindow_cb<F>(&mut self, cb: F) -> Self
where
F: Callback<(Self,)>, { ... } fn remove_enterwindow_cb(&mut self) -> Option<Box<Callback<(Self,)>>> { ... } }
Action generated when the mouse enters the native element.
When the cursor is moved from one element to another, the call order in all platforms will
be first the LeaveWindowCb
callback of the old control followed by the EnterWindowCb
callback of the new control.
Provided Methods
fn set_enterwindow_cb<F>(&mut self, cb: F) -> Self where
F: Callback<(Self,)>,
F: Callback<(Self,)>,