ITool.OnMouseDoubleClick Method
Called when a mouse button is double clicked.
Thread safety: This method does not have to be thread-safe, it will only be called by Carmenta Engine from the GUI thread.
OnMouseDoubleClick(MouseButtons button, System.Int32 x, System.Int32 y, System.Boolean shift, System.Boolean ctrl, System.Boolean alt)
Called when a mouse button is double clicked.Syntax
public System.Boolean OnMouseDoubleClick (
MouseButtons button,
System.Int32 x,
System.Int32 y,
System.Boolean shift,
System.Boolean ctrl,
System.Boolean alt
)
Parameters
button
Type: MouseButtons
The button that was clicked.
The button that was clicked.
x
Type: System.Int32
The x coordinate where the double click occurred.
The x coordinate where the double click occurred.
y
Type: System.Int32
The y coordinate where the double click occurred.
The y coordinate where the double click occurred.
shift
Type: System.Boolean
True if the SHIFT key was pressed.
True if the SHIFT key was pressed.
ctrl
Type: System.Boolean
True if the CTRL key was pressed.
True if the CTRL key was pressed.
alt
Type: System.Boolean
True if the ALT key was pressed.
True if the ALT key was pressed.
Return Value
Type: System.Boolean
True if the tool handles the event; False otherwise.
True if the tool handles the event; False otherwise.
Platforms
Windows, Linux, Android