Widget handler: OnMouseDown

From AddOn Studio
Revision as of 02:49, 9 May 2008 by WoWWiki>Racionen (→‎Initial creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Widget API ← OnMouseDown < OnMouseDown

Invoked when mouse button is pressed on the widget.

Arguments

arg1
the widget on which the mouse button was pressed
arg2
the mouse button pressed. Can be any of the following: LeftButton, RightButton, MiddleButton, Button4, Button5