Project

General

Profile

Actions

Added in 1.9.1

$menu

Returns the name of the associated window in a menu event.

See also $menutype, $menucontext, $mouse, $menuicon, Menus.

Example

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
}

Updated by Per Amundsen about 1 year ago · 4 revisions

Also available in: PDF HTML TXT