Skip to main content

ScrollEvent

ScrollEvent class has the following properties:

global_x​

The x component of the global position of the pointer.

global_y​

The y component of the global position of the pointer.

local_x​

The x component of the local position of the pointer.

local_y​

The y component of the local position of the pointer.

scroll_delta_x​

The x component of the the amount to scroll, in logical pixels.

scroll_delta_y​

The y component of the the amount to scroll, in logical pixels.