Widget handler: OnClick

Revision as of 22:15, 9 June 2006 by WoWWiki>Mikk ({{widgethandler}})

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