This event signifies a mouse click on the source component. A mouse click the combination of a mouse press and a mouse release, both of which must have occurred over the source component. Note that this event fires after the pressed and released events have fired.
Property | Description |
---|
.source | The component that fired this event. |
.button | The code for the button that caused this event to fire. |
.clickCount | The number of mouse clicks associated with this event. |
.x | The x-coordinate (with respect to the source component) of this mouse event. |
.y | The y-coordinate (with respect to the source component) of this mouse event. |
.popupTrigger | Returns True (1) if this mouse event is a popup trigger. What constitutes a popup trigger is operating system dependent, which is why this abstraction exists. |
.altDown | True (1) if the Alt key was held down during this event, false (0) otherwise. |
.controlDown | True (1) if the Ctrl key was held down during this event, false (0) otherwise. |
.shiftDown | True (1) if the Shift key was held down during this event, false (0) otherwise. |