Trait droom_ui::dialog::dialog::ShowCb
[−]
[src]
pub trait ShowCb where Self: Element + 'static { fn set_move_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, ShowState)> { ... } fn remove_move_cb(&mut self) -> Option<Box<Callback<(Self, ShowState)>>> { ... } }
Called right after the dialog is showed, hidden, maximized, minimized or restored from minimized/maximized.
This callback is called when those actions were performed by the user or programmatically by the application.
CallbackReturn::Close
will be processed.
Provided Methods
fn set_move_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, ShowState)>
fn remove_move_cb(&mut self) -> Option<Box<Callback<(Self, ShowState)>>>
Implementors
impl ShowCb for Dialog