ActionButtonDown()

From Warcraft Wiki
Jump to navigation Jump to search
This function is implemented in FrameXML/ActionButton.lua.

Presses the specified FrameXML action button.

ActionButtonDown(buttonID)

Arguments

buttonID
Number - The button ID of the button to push

Details

  • Used by key bindings, this function dispatches a click to the appropriate FrameXML action button, accounting for the use of OverrideActionBar.
  • It will call protected functions, and should therefore not be called from insecure execution paths.