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
button | The number of the pressed mouse button. |
x | The x coordinate of the mouse cursor. |
y | The y coordinate of the mouse cursor. |
state | a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt). |
Returns
a new #GstEvent