← Back to carmenta.com
Carmenta Engine SDK Documentation
×

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

C#
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.
x
Type: System.Int32
The x coordinate where the double click occurred.
y
Type: System.Int32
The y coordinate where the double click occurred.
shift
Type: System.Boolean
True if the SHIFT key was pressed.
ctrl
Type: System.Boolean
True if the CTRL key was pressed.
alt
Type: System.Boolean
True if the ALT key was pressed.

Return Value

Type: System.Boolean
True if the tool handles the event; False otherwise.

Platforms

Windows, Linux, Android

By accessing the information on this site you accept our terms and conditions and privacy policy.
This site uses cookies to enhance your experience and provide additional functionality.

Accept