Menus

 
 
 

Menus appear in a menu bar at the top of a window or in a menu bar layout. They may also be attached to any control or layout by using the “popupMenu” command. Menus contain menu items and can be hierarchical; that is, a menu item can contain another sub-menu of its own. Menus also have commands or scripts attached to them so that when selected some action will occur. While an option menu control (see, the documentation for the “optionMenu” command) may look similar to menus it is a control and behaves differently. Furthermore, neither the “menu” or “menuItem” commands are required to construct the contents of an option menu.

For a list of the menus that are available, see the “UI: Menus” section of the Command List by Function.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License