WoW:UIHANDLER OnClick: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
({{widgethandler}})
Line 1: Line 1:
{{widgethandler}}
== Description ==
== Description ==


Line 13: Line 15:
*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]]
[[Category:World of Warcraft API]]

Revision as of 22:15, 9 June 2006

Widget handlers < OnClick

Description

The OnClick handler is called when a UI element is clicked with the mouse.

Arguments

arg1 - returned as a string representing the button that was clicked. Can be any of the following:

  • LeftButton
  • RightButton
  • MiddleButton
  • Button4
  • Button5

According to how the UI element is setup with API_Button_RegisterForClicks