NavigationT.sendMouseEvent

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.

template NavigationT()
override
void
sendMouseEvent
(
string event
,
int button
,
double x
,
double y
)

Parameters

event string

The type of mouse event, as a text string. Recognised values are "mouse-button-press", "mouse-button-release" and "mouse-move".

button int

The button number of the button being pressed or released. Pass 0 for mouse-move events.

x double

The x coordinate of the mouse event.

y double

The y coordinate of the mouse event.