Inspect a Gst.Event and return the GstVideo.NavigationEventType of the event, or #GST_NAVIGATION_EVENT_INVALID if the event is not a GstVideo.Navigation event.
Create a new navigation event given navigation command..
The navigation command to use.
Create a new navigation event for the given key press.
A string identifying the key press.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for the given key release.
A string identifying the released key.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for the given key mouse button press.
The number of the pressed mouse button.
The x coordinate of the mouse cursor.
The y coordinate of the mouse cursor.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for the given key mouse button release.
The number of the released mouse button.
The x coordinate of the mouse cursor.
The y coordinate of the mouse cursor.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for the new mouse location.
The x coordinate of the mouse cursor.
The y coordinate of the mouse cursor.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for the mouse scroll.
The x coordinate of the mouse cursor.
The y coordinate of the mouse cursor.
The x component of the scroll movement.
The y component of the scroll movement.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event signalling that all currently active touch points are cancelled and should be discarded. For example, under Wayland this event might be sent when a swipe passes the threshold to be recognized as a gesture by the compositor.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for an added touch point.
A number uniquely identifying this touch point. It must stay unique to this touch point at least until an up event is sent for the same identifier, or all touch points are cancelled.
The x coordinate of the new touch point.
The y coordinate of the new touch point.
Pressure data of the touch point, from 0.0 to 1.0, or NaN if no data is available.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event signalling the end of a touch frame. Touch frames signal that all previous down, motion and up events not followed by another touch frame event already should be considered simultaneous.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for a moved touch point.
A number uniquely identifying this touch point. It must correlate to exactly one previous touch_start event.
The x coordinate of the touch point.
The y coordinate of the touch point.
Pressure data of the touch point, from 0.0 to 1.0, or NaN if no data is available.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Create a new navigation event for a removed touch point.
A number uniquely identifying this touch point. It must correlate to exactly one previous down event, but can be reused after sending this event.
The x coordinate of the touch point.
The y coordinate of the touch point.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Inspect a GstVideo.Navigation command event and retrieve the enum value of the associated command.
The Gst.Event to modify.
a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).
Retrieve the details of either a GstVideo.Navigation mouse button press event or
a mouse button release event. Determine which type the event is using
gst_navigation_event_get_type() to retrieve the GstVideo.NavigationEventType.
Inspect a GstVideo.Navigation mouse movement event and extract the coordinates of the event.
Inspect a GstVideo.Navigation mouse scroll event and extract the coordinates of the event.
Retrieve the details of a GstVideo.Navigation touch-down or touch-motion event.
Determine which type the event is using gst_navigation_event_get_type()
to retrieve the GstVideo.NavigationEventType.
Retrieve the details of a GstVideo.Navigation touch-up event.
Try to set x and y coordinates on a GstVideo.Navigation event. The event must be writable.
Check a bus message to see if it is a GstVideo.Navigation event, and return the GstVideo.NavigationMessageType identifying the type of the message if so.
A Gst.Message to inspect.
Creates a new GstVideo.Navigation message with type #GST_NAVIGATION_MESSAGE_ANGLES_CHANGED for notifying an application that the current angle, or current number of angles available in a multiangle video has changed.
A Gst.Object to set as source of the new message.
The currently selected angle.
The number of viewing angles now available.
Creates a new GstVideo.Navigation message with type #GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED
A Gst.Object to set as source of the new message.
Creates a new GstVideo.Navigation message with type #GST_NAVIGATION_MESSAGE_EVENT.
Creates a new GstVideo.Navigation message with type #GST_NAVIGATION_MESSAGE_MOUSE_OVER.
A Gst.Object to set as source of the new message.
true if the mouse has entered a clickable area of the display. false if it over a non-clickable area.
Parse a GstVideo.Navigation message of type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED
and extract the cur_angle and n_angles parameters.
A Gst.Message to inspect.
Parse a GstVideo.Navigation message of type #GST_NAVIGATION_MESSAGE_EVENT
and extract contained Gst.Event. The caller must unref the event when done
with it.
A Gst.Message to inspect.
Parse a GstVideo.Navigation message of type #GST_NAVIGATION_MESSAGE_MOUSE_OVER and extract the active/inactive flag. If the mouse over event is marked active, it indicates that the mouse is over a clickable area.
A Gst.Message to inspect.
Inspect a Gst.Query and return the GstVideo.NavigationQueryType associated with it if it is a GstVideo.Navigation query.
The query to inspect
Create a new GstVideo.Navigation angles query. When executed, it will query the pipeline for the set of currently available angles, which may be greater than one in a multiangle video.
Create a new GstVideo.Navigation commands query. When executed, it will query the pipeline for the set of currently available commands.
Parse the current angle number in the GstVideo.Navigation angles query into the
guint pointed to by the cur_angle variable, and the number of available
angles into the guint pointed to by the n_angles variable.
Parse the number of commands in the GstVideo.Navigation commands query.
Parse the GstVideo.Navigation command query and retrieve the nth command from
it into cmd. If the list contains less elements than nth, cmd will be
set to #GST_NAVIGATION_COMMAND_INVALID.
Set the GstVideo.Navigation angles query result field in query.
the current viewing angle to set.
the number of viewing angles to set.
Set the GstVideo.Navigation command query result fields in query. The number
of commands passed must be equal to n_commands.
An array containing n_cmds GstNavigationCommand values.
Try to retrieve x and y coordinates of a GstVideo.Navigation event.