WoW:UIHANDLER OnClick

From AddOn Studio
Revision as of 01:31, 25 May 2006 by WoWWiki>Neogia
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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