send_mouse_event


Description:

public void send_mouse_event (string event, int button, double x, double y)

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 Navigation interface.

Parameters:

this

The navigation interface instance

event

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

button

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

x

The x coordinate of the mouse event.

y

The y coordinate of the mouse event.