WoW API: ToggleGameMenu

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API ToggleGameMenu to API ToggleGameMenu without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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.