Navigation.eventParseMouseScrollEvent

Inspect a #GstNavigation mouse scroll event and extract the coordinates of the event.

interface Navigation
static
bool
eventParseMouseScrollEvent
(,
out double x
,
out double y
,
out double deltaX
,
out double deltaY
)

Parameters

event gst.event.Event

A #GstEvent to inspect.

x double

Pointer to a gdouble to receive the x coordinate of the mouse movement.

y double

Pointer to a gdouble to receive the y coordinate of the mouse movement.

deltaX double

Pointer to a gdouble to receive the delta_x coordinate of the mouse movement.

deltaY double

Pointer to a gdouble to receive the delta_y coordinate of the mouse movement.

Return Value

Type: bool

TRUE if all coordinates could be extracted, otherwise FALSE.