Struct PointerScrollEvent¶
Defined in File slint_builtin_structs.h
Struct Documentation¶
-
struct PointerScrollEvent¶
Represents a Pointer scroll (or wheel) event sent by the windowing system. This structure is passed to the
scroll-eventcallback of theTouchAreaelement.Public Members
-
float delta_x¶
The amount of pixel in the horizontal direction.
-
float delta_y¶
The amount of pixel in the vertical direction.
-
KeyboardModifiers modifiers¶
The keyboard modifiers pressed during the event.
-
float delta_x¶