Widget handler: OnMouseDown

Revision as of 16:06, 21 April 2009 by WoWWiki>Sine Pi (updated for 3.0)

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