rlvgl_core/
event.rs

1/// Basic UI events used for widgets.
2#[derive(Debug, Clone, PartialEq, Eq)]
3pub enum Event {
4    /// Called periodically to advance animations or timers.
5    Tick,
6    /// A pointer (mouse or touch) was pressed at the given coordinates.
7    PointerDown { x: i32, y: i32 },
8    /// The pointer was released.
9    PointerUp { x: i32, y: i32 },
10    /// The pointer moved while still pressed.
11    PointerMove { x: i32, y: i32 },
12}