[−][src]Trait orbtk::prelude::api::MouseHandler
Provided methods
fn on_click<H>(self, handler: H) -> Self where
H: 'static + Fn(Point) -> bool,
H: 'static + Fn(Point) -> bool,
Inserts a click handler.
fn on_mouse_down<H>(self, handler: H) -> Self where
H: 'static + Fn(Point) -> bool,
H: 'static + Fn(Point) -> bool,
Insert a mouse down handler.
fn on_mouse_up<H>(self, handler: H) -> Self where
H: 'static + Fn(Point) -> bool,
H: 'static + Fn(Point) -> bool,
Insert a mouse up handler.
fn on_scroll<H>(self, handler: H) -> Self where
H: 'static + Fn(Point) -> bool,
H: 'static + Fn(Point) -> bool,
Insert a mouse up handler.