WoW:UIHANDLER OnClick: Difference between revisions

m
no edit summary
m (catfix, Replaced: {{widgethandler}} → {{widgethandler}}<br>)
mNo edit summary
Line 7: Line 7:
== Arguments ==
== Arguments ==


arg1 - a string representing the button that was clicked.
self - the button being clicked
 
button - a string representing the button that was clicked.
Can be any of the following:
Can be any of the following:
*LeftButton
*LeftButton
Line 15: Line 17:
*Button5
*Button5
According to how the UI element is setup with [[API_Button_RegisterForClicks]]
According to how the UI element is setup with [[API_Button_RegisterForClicks]]
down - whether the button is down (1 or nil? true or false? someone please provide more info)
Anonymous user