Module rat_input::event

source ·
Expand description

Event-handler traits and Keybindings.

Modules§

Macros§

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 FocusKey or MouseOnly event-handlers, to mitigate the front/back problem of overlaying widgets.
  • Runs only the navigation events, not any editing.

Enums§

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.