slint::language::PointerEvent Struct
struct PointerEvent;C++
#include <slint.h>C++
Represents a Pointer event sent by the windowing system. This structure is passed to the pointer-event callback of the TouchArea element.
Public Attributes
Section titled “Public Attributes” button
Section titled “ button”PointerEventButton slint::language::PointerEvent::button
The button that was pressed or released.
PointerEventKind slint::language::PointerEvent::kind
The kind of the event.
modifiers
Section titled “ modifiers”KeyboardModifiers slint::language::PointerEvent::modifiers
The keyboard modifiers pressed during the event.
touch_finger_id
Section titled “ touch_finger_id”int32_t slint::language::PointerEvent::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).
© 2026 SixtyFPS GmbH