Navigation.eventNewMouseButtonPress

gst.event.Event eventNewMouseButtonPress(int button, double x, double y, gstvideo.types.NavigationModifierType state)

Create a new navigation event for the given key mouse button press.

Parameters

buttonThe number of the pressed mouse button.
xThe x coordinate of the mouse cursor.
yThe y coordinate of the mouse cursor.
statea bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns

a new #GstEvent