GstNavigationEventType

Enum values for the various events that an element implementing the GstNavigation interface might send up the pipeline. Touch events have been inspired by the libinput API, and have the same meaning here.

Values

ValueMeaning
Invalid0

Returned from gstvideo.navigation.Navigation.eventGetType when the passed event is not a navigation event.

KeyPress1

A key press event. Use gstvideo.navigation.Navigation.eventParseKeyEvent to extract the details from the event.

KeyRelease2

A key release event. Use gstvideo.navigation.Navigation.eventParseKeyEvent to extract the details from the event.

MouseButtonPress3

A mouse button press event. Use gstvideo.navigation.Navigation.eventParseMouseButtonEvent to extract the details from the event.

MouseButtonRelease4

A mouse button release event. Use gstvideo.navigation.Navigation.eventParseMouseButtonEvent to extract the details from the event.

MouseMove5

A mouse movement event. Use gstvideo.navigation.Navigation.eventParseMouseMoveEvent to extract the details from the event.

Command6

A navigation command event. Use gstvideo.navigation.Navigation.eventParseCommand to extract the details from the event.

MouseScroll7

A mouse scroll event. Use gstvideo.navigation.Navigation.eventParseMouseScrollEvent to extract the details from the event.

TouchDown8

An event describing a new touch point, which will be assigned an identifier that is unique to it for the duration of its movement on the screen. Use gstvideo.navigation.Navigation.eventParseTouchEvent to extract the details from the event.

TouchMotion9

An event describing the movement of an active touch point across the screen. Use gstvideo.navigation.Navigation.eventParseTouchEvent to extract the details from the event.

TouchUp10

An event describing a removed touch point. After this event, its identifier may be reused for any new touch points. Use gstvideo.navigation.Navigation.eventParseTouchUpEvent to extract the details from the event.

TouchFrame11

An event signaling the end of a sequence of simultaneous touch events.

TouchCancel12

An event cancelling all currently active touch points.