Skip to content

ScrollEvent

Inherits: Event[EventControlType]

The pointer issued a scroll event.

Properties

Properties#

global_position #

global_position: Offset = field(
    metadata={"data_field": "g"}
)

The coordinate of the position of the pointer, in logical pixels in the global coordinate space.

local_position #

local_position: Offset = field(metadata={"data_field": "l"})

The coordinate of the position of the pointer, in logical pixels in the local coordinate space.

scroll_delta #

scroll_delta: Offset = field(metadata={'data_field': 'sd'})

The amount to scroll, in logical pixels.