Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
No edit summary
 
No edit summary
 
(19 intermediate revisions by 11 users not shown)
Line 1: Line 1:
  +
{{framexmlfunc|FrameXML/ActionButton.lua}}
<center>'''ActionButtonDown''' ''-Documentation by AlexanderYoshi-''</center>
 
 
Presses the specified FrameXML action button.
 
ActionButtonDown(buttonID)
   
 
==Arguments==
Press the specified action button.
 
 
;buttonID : Number - The button ID of the button to push
   
  +
== Details ==
ActionButtonDown(questID);
 
  +
* 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.
----
 
;''Arguments''
 
 
:(Number buttonID)
 
 
:;buttonID : The button ID of the button to push
 
 
----
 
;''Returns''
 
 
:;nil
 
 
----
 
;''Example''
 
ActionButtonDown(1);
 
 
;''Result''
 
 
----
 
;''Description''
 
 
: Press the specified action button.
 
 
----
 
{{Template:WoW API}}
 

Latest revision as of 02:32, 13 January 2013

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.