$menucontext » History » Revision 6
Revision 5 (Per Amundsen, 12/31/2018 11:38 AM) → Revision 6/7 (Per Amundsen, 12/31/2018 11:40 AM)
_Added in 1.9.1_
*$menucontext*
Returns the context of a [[Scripting_Menus|menu]] event.
_window/hotlink/toolbar/treebar_
_See also [[$menutype]], [[$menu]], [[$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>