Expand description
Event-handler traits and Keybindings.
Modules§
- Some utility functions that pop up all the time.
Macros§
- This macro produces pattern matches for crossterm events.
- Breaks the control-flow if the block returns a value for with ConsumedEvent::is_consumed is true.
- Breaks and Ok-wraps the control-flow if the block returns a value for with ConsumedEvent::is_consumed is true.
Structs§
- Default key bindings when focused. Also handles all events that are MouseOnly.
- Handler for mouse events only.
- Runs only the event-handling for the popup-parts of a widget. These should be run before the standard
FocusKeyorMouseOnlyevent-handlers, to mitigate the front/back problem of overlaying widgets. - Runs only the navigation events, not any editing.
Enums§
- A baseline Outcome for event-handling.
- Result of event handling.
Traits§
- When composing several widgets, the minimum information from the outcome of the inner widget is, whether it used & consumed the event.
- A very broad trait for an event handler for widgets.