Navigation.eventParseMouseButtonEvent

bool eventParseMouseButtonEvent(gst.event.Event event, out int button, out double x, out double y)

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.

Parameters

eventA #GstEvent to inspect.
buttonPointer to a gint that will receive the button number associated with the event.
xPointer to a gdouble to receive the x coordinate of the mouse button event.
yPointer to a gdouble to receive the y coordinate of the mouse button event.

Returns

TRUE if the button number and both coordinates could be extracted,

otherwise FALSE.