Navigation.eventNewMouseScroll

gst.event.Event eventNewMouseScroll(double x, double y, double deltaX, double deltaY, gstvideo.types.NavigationModifierType state)

Create a new navigation event for the mouse scroll.

Parameters

xThe x coordinate of the mouse cursor.
yThe y coordinate of the mouse cursor.
deltaXThe x component of the scroll movement.
deltaYThe y component of the scroll movement.
statea bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns

a new #GstEvent