Navigation.eventNewKeyPress

gst.event.Event eventNewKeyPress(string key, gstvideo.types.NavigationModifierType state)

Create a new navigation event for the given key press.

Parameters

keyA string identifying the key press.
statea bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns

a new #GstEvent