$menucontext » History » Version 6
Per Amundsen, 12/31/2018 11:40 AM
1 | 1 | Per Amundsen | _Added in 1.9.1_ |
---|---|---|---|
2 | |||
3 | *$menucontext* |
||
4 | |||
5 | 4 | Mr. BS | Returns the context of a [[Scripting_Menus|menu]] event. |
6 | 1 | Per Amundsen | |
7 | 3 | Per Amundsen | _window/hotlink/toolbar/treebar_ |
8 | 1 | Per Amundsen | |
9 | 6 | Per Amundsen | _See also [[$menutype]], [[$menu]], [[$mouse]], [[Scripting_Menus|Menus]]._ |
10 | 5 | Per Amundsen | |
11 | 1 | Per Amundsen | *Example* |
12 | |||
13 | <pre> |
||
14 | menu @Example { |
||
15 | Menu Name:echo -ag Menu name is $menu |
||
16 | Menu Type:echo -ag Menu type is $menutype |
||
17 | Menu Context:echo -ag Menu context is $menucontext |
||
18 | } |
||
19 | </pre> |