Wowpedia

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

READ MORE

Wowpedia
({{framexml}})
m (catfix, Replaced: {{framexml → <br>{{framexml)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
{{protectedapi|2.0.1|}}
{{framexml}}
 
   
  +
<br>{{framexmlfunc|FrameXML/UIParent.lua}} __NOTOC__
<center>'''ToggleGameMenu''' ''-Documentation by AlexanderYoshi-''</center>
 
   
Opens/closes the game menu.
 
   
 
ToggleGameMenu();
 
ToggleGameMenu();
   
 
Opens/closes the game menu.
----
 
  +
;''Arguments''
 
  +
  +
== Parameters ==
 
=== Arguments ===
   
 
:''none''
 
:''none''
   
 
=== Returns ===
----
 
;''Returns''
 
   
 
:;nil
 
:;nil
   
----
 
;''Example''
 
ToggleGameMenu();
 
   
 
== Example ==
;''Result''
 
 
ToggleGameMenu();
   
  +
==Note==
: Opens/closes the game menu.
 
  +
* 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 00:41, 15 July 2008


This function is implemented in 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.