Sends the indicated command to the navigation interface.
Sends an event to the navigation interface.
Sends a mouse event to the navigation interface. Mouse event coordinates are sent relative to the display space of the related output area. This is usually the size in pixels of the window associated with the element implementing the #GstNavigation interface.
Sends a mouse scroll event to the navigation interface. Mouse event coordinates are sent relative to the display space of the related output area. This is usually the size in pixels of the window associated with the element implementing the #GstNavigation interface.
Try to retrieve x and y coordinates of a #GstNavigation event.
Inspect a #GstEvent and return the #GstNavigationEventType of the event, or #GST_NAVIGATION_EVENT_INVALID if the event is not a #GstNavigation event.
Create a new navigation event given navigation command..
Create a new navigation event for the given key press.
Create a new navigation event for the given key release.
Create a new navigation event for the given key mouse button press.
Create a new navigation event for the given key mouse button release.
Create a new navigation event for the new mouse location.
Create a new navigation event for the mouse scroll.
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.
Create a new navigation event for an added touch point.
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.
Create a new navigation event for a moved touch point.
Create a new navigation event for a removed touch point.
Inspect a #GstNavigation command event and retrieve the enum value of the associated command.
Retrieve the details of either a #GstNavigation mouse button press event or a mouse button release event. Determine which type the event is using gstvideo.navigation.Navigation.eventGetType to retrieve the #GstNavigationEventType.
Inspect a #GstNavigation mouse movement event and extract the coordinates of the event.
Inspect a #GstNavigation mouse scroll event and extract the coordinates of the event.
Retrieve the details of a #GstNavigation touch-down or touch-motion event. Determine which type the event is using gstvideo.navigation.Navigation.eventGetType to retrieve the #GstNavigationEventType.
Retrieve the details of a #GstNavigation touch-up event.
Try to set x and y coordinates on a #GstNavigation event. The event must be writable.
Check a bus message to see if it is a #GstNavigation event, and return the #GstNavigationMessageType identifying the type of the message if so.
Creates a new #GstNavigation 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.
Creates a new #GstNavigation message with type #GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED
Creates a new #GstNavigation message with type #GST_NAVIGATION_MESSAGE_EVENT.
Creates a new #GstNavigation message with type #GST_NAVIGATION_MESSAGE_MOUSE_OVER.
Parse a #GstNavigation message of type GST_NAVIGATION_MESSAGE_ANGLES_CHANGED and extract the cur_angle and n_angles parameters.
Parse a #GstNavigation message of type #GST_NAVIGATION_MESSAGE_EVENT and extract contained #GstEvent. The caller must unref the event when done with it.
Parse a #GstNavigation 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.
Inspect a #GstQuery and return the #GstNavigationQueryType associated with it if it is a #GstNavigation query.
Create a new #GstNavigation 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 #GstNavigation commands query. When executed, it will query the pipeline for the set of currently available commands.
Parse the current angle number in the #GstNavigation 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 #GstNavigation commands query.
Parse the #GstNavigation 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 #GstNavigation angles query result field in query.
Set the #GstNavigation command query result fields in query. The number of commands passed must be equal to n_commands.
The Navigation interface is used for creating and injecting navigation related events such as mouse button presses, cursor motion and key presses. The associated library also provides methods for parsing received events, and for sending and receiving navigation related bus events. One main usecase is DVD menu navigation.
The main parts of the API are:
The GstNavigation message functions provide functions for creating and parsing custom bus messages for signaling GstNavigation changes.