Navigation.eventNewKeyPress

Create a new navigation event for the given key press.

interface Navigation
static
eventNewKeyPress

Parameters

key string

A string identifying the key press.

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