Menu

The menu is used only as a component of a menu bar. Create menus, append menu items (strings, separators or further menus), and finally append the menu to the menu bar.

A menu or menu bar string may contain an ampersand, which is taken to mean 'underline the next character and use it as the hotkey'. This gives the user the opportunity to use keystrokes to access menus and items.

menu-create

menu-append

menu-append-separator

menu-check

menu-enable