$menu » History » Revision 3
Revision 2 (Per Amundsen, 12/31/2018 11:38 AM) → Revision 3/4 (Per Amundsen, 12/31/2018 11:40 AM)
_Added in 1.9.1_
*$menu*
Returns the name of the associated window in a [[Scripting_Menus|menu]] event.
_See also [[$menutype]], [[$menucontext]], [[$mouse]], [[Scripting_Menus|Menus]]._
*Example*
<pre>
menu @Example {
Menu Name:echo -ag Menu name is $menu
Menu Type:echo -ag Menu type is $menutype
Menu Context:echo -ag Menu context is $menucontext
}
</pre>