WoW:API ToggleGameMenu: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
== Example == | == Example == | ||
ToggleGameMenu(); | ToggleGameMenu(); | ||
==Note== | |||
* The function itself is not protected; it calls the following protected functions which trigger the ACTION_BLOCKED event:<br /> | |||
**[[API_SpellStopCasting|SpellStopCasting]]()<br /> | |||
**[[API_SpellStopTargeting|SpellStopTargeting]]()<br /> | |||
**[[API_ClearTarget|ClearTarget]]() | |||
* The name of this function is a bit of a misnomer, it's actually a handler that fires when the user presses the Escape key. |
Revision as of 22:44, 22 November 2007
This function is PROTECTED, and can only be called from Blizzard code.
|
- This function is implemented in Lua here FrameXML/UIParent.lua.
ToggleGameMenu();
Opens/closes the game menu.
Parameters
Arguments
- none
Returns
- nil
Example
ToggleGameMenu();
Note
- The function itself is not protected; it calls the following protected functions which trigger the ACTION_BLOCKED event:
- The name of this function is a bit of a misnomer, it's actually a handler that fires when the user presses the Escape key.