Trait carbide_core::event::event::Event [−][src]
Required methods
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
A function that will be called when a mouse event occurs. It will only get called on the events where the cursor is inside. Return true if the event is consumed, and will thus not be delegated to other widgets.
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
A function that will get called when a keyboard event occurs. This event will be given to all widgets, no matter if they are in focus or not. This is because the focus will be decided by the widgets themselves.
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
This will get called if there are event that are not covered by the other functions. This will get delegated to all widgets. It will never get called with mouse or keyboard events. TODO: Separate touch events. And add global state
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<S>,
global_state: &mut S
)
Provided methods
fn process_mouse_event_default(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
fn process_keyboard_event_default(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
fn process_other_event_default(
&mut self,
event: &WidgetEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<S>,
global_state: &mut S
)
Implementations on Foreign Types
impl<S: GlobalState> Event<S> for Box<dyn Widget<S>>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<S>,
global_state: &mut S
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<S>,
global_state: &mut S
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<S>,
global_state: &mut S
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<S>,
global_state: &mut S
)
Implementors
impl<GS: GlobalState> Event<GS> for SyncTest<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Border<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Canvas
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Clip<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Frame<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for HStack<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Hidden<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Image
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Offset<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for OverlaidLayer<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Padding<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Scroll<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Rectangle<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for RoundedRectangle<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Spacer
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for Text<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for VStack<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<GS: GlobalState> Event<GS> for ZStack<GS>
[src]
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<S, GS: GlobalState> Event<GS> for Oval<S, GS> where
S: 'static + Clone,
[src]
S: 'static + Clone,
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
impl<T, GS: GlobalState> Event<GS> for ForEach<GS, T> where
T: ForEachDelegate + 'static,
[src]
T: ForEachDelegate + 'static,
fn handle_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn handle_other_event(&mut self, event: &WidgetEvent)
[src]
fn process_mouse_event(
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &MouseEvent,
consumed: &bool,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_keyboard_event(
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &KeyboardEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
fn process_other_event(
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)
[src]
&mut self,
event: &WidgetEvent,
env: &mut Environment<GS>,
global_state: &mut GS
)