WoW:UIHANDLER OnMouseDown: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
 
(updated for 3.0)
Line 5: Line 5:
== Arguments ==
== Arguments ==


:;arg1: the widget on which the mouse button was pressed
:;self: 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
:;button: the mouse button pressed.  Can be any of the following: LeftButton, RightButton, MiddleButton, Button4, Button5

Revision as of 16:06, 21 April 2009

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