[−][src]Trait orbtk::prelude::api::EventHandler
This trait is used to define an event handler.
Required methods
fn handle_event(&self, event: &EventBox) -> bool
Handles an event
by the given widget
. If it returns true
the event will not be forwarded.
fn handles_event(&self, event: &EventBox) -> bool
Check if the handler could handle the given event box.