Widget handler: OnMouseDown
← Widget API ← OnMouseDown < OnMouseDown
Invoked when mouse button is pressed on the widget.
Arguments
- self
- the widget on which the mouse button was pressed
- button
- the mouse button pressed. Can be any of the following: LeftButton, RightButton, MiddleButton, Button4, Button5