WoW:API ToggleGameMenu: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (catfix, Replaced: {{framexml → <br>{{framexml)
Line 1: Line 1:
{{protectedapi|2.0.1|}}
{{protectedapi|2.0.1|}}


{{framexmlfunc|FrameXML/UIParent.lua}} __NOTOC__
<br>{{framexmlfunc|FrameXML/UIParent.lua}} __NOTOC__





Revision as of 00:41, 15 July 2008


WoW API < ToggleGameMenu

"I" iconThis 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.