Trait dui::callback::callbacks::KillFocusCb
[−]
[src]
pub trait KillFocusCb where
Self: Element + 'static, { fn set_killfocus_cb<F>(&mut self, cb: F) -> Self
where
F: Callback<(Self,)>, { ... } fn remove_killfocus_cb(&mut self) -> Option<Box<Callback<(Self,)>>> { ... } }
Action generated when an element loses keyboard focus.
This callback is called before the GetFocusCb
of the element that gets the focus.
While processing this message, do not make any function calls that display or activate a window. This causes the thread to yield control and can cause the application to stop responding to messages.
Provided Methods
fn set_killfocus_cb<F>(&mut self, cb: F) -> Self where
F: Callback<(Self,)>,
F: Callback<(Self,)>,