Struct PointerEvent¶
Defined in File slint_builtin_structs.h
Struct Documentation¶
-
struct PointerEvent¶
Represents a Pointer event sent by the windowing system. This structure is passed to the
pointer-eventcallback of theTouchAreaelement.Public Members
-
PointerEventButton button¶
The button that was pressed or released.
-
PointerEventKind kind¶
The kind of the event.
-
KeyboardModifiers modifiers¶
The keyboard modifiers pressed during the event.
-
int32_t touch_finger_id¶
The unique ID of the touch point, indicating the finger ID. 0 means it’s not a touch event (e.g., mouse).
-
PointerEventButton button¶