Trait droom_ui::callback::callbacks::ResizeCb
[−]
[src]
pub trait ResizeCb where Self: Element + 'static { fn set_move_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, i32, i32)> { ... } fn remove_move_cb(&mut self) -> Option<Box<Callback<(Self, i32, i32)>>> { ... } }
Action generated when the canvas or dialog size is changed.
Provided Methods
fn set_move_cb<F>(&mut self, cb: F) -> Self where F: Callback<(Self, i32, i32)>
fn remove_move_cb(&mut self) -> Option<Box<Callback<(Self, i32, i32)>>>
Implementors
impl ResizeCb for Dialog