WoWWiki-Sembiance@legacy41586669 (talk | contribs) 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> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | == 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. |
||
− | ---- |
||
⚫ | |||
− | |||
− | :(Number buttonID) |
||
− | |||
⚫ | |||
− | |||
− | ---- |
||
− | ;''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
.
- This function is implemented in
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.