A menu bar is a standard user interface element which places the main commands of an application along the top of a frame.
The menu bar must be assigned to a frame using frame-set-menu-bar. Once this is done, the menu bar must not be deleted by the application: it will be deleted when the frame is deleted.
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.
See also Menu.
menu-bar-create
menu-bar-create-from-resource
menu-bar-append
menu-bar-check
menu-bar-checked
menu-bar-enable
long ( menu-bar-create)
Create a menu bar and return its ID.
long ( menu-bar-create-from-resource string resource-name)
Create a menu bar and return its ID, given a resource name.
The resource file containing this resource must first have been loaded with load-resource-file.
long ( menu-bar-append long menu-bar-id long menu-id string title)
Append a menu to a menu bar.
long ( menu-bar-check long menu-bar-id long item-id long check)
Check (check = 1) or uncheck (check = 0) the given menu item (MS Windows only).
long ( menu-bar-checked long menu-bar-id long item-id)
Returns 1 if the menu item is checked, 0 otherwise.
long ( menu-bar-enable long menu-bar-id long item-id long enable)
Enable (enable = 1) or disable (enable = 0) the given menu item.