Navigation.eventNewMouseButtonPress

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

interface Navigation
static
eventNewMouseButtonPress

Parameters

button int

The number of the pressed mouse button.

x double

The x coordinate of the mouse cursor.

y double

The y coordinate of the mouse cursor.

state gstvideo.types.NavigationModifierType

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Return Value

Type: gst.event.Event

a new #GstEvent