Widget handler: OnMouseDown

From AddOn Studio
Jump to navigation Jump to search

Widget handlers < 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