Skip to main content

Module event

Module event 

Source
Expand description

Event types for the widget system.

All coordinates in events are first-quadrant (Y-up) by the time any widget code sees them. The single Y-down → Y-up conversion happens at the platform boundary inside crate::widget::App.

Structs§

Modifiers
Modifier keys held at the time of an event.

Enums§

Event
A GUI event delivered to a widget.
EventResult
What a widget returns from crate::widget::Widget::on_event.
Key
A logical keyboard key.
MouseButton
Which mouse button triggered a MouseDown or MouseUp event.