<menuBar name = NMTOKEN helpId = NMTOKEN insert = non empty token > Content: [ insert | menu ]+ </menuBar> <insert /> <menu name = NMTOKEN />
Specifies a menu bar. A menu bar contains references to menu elements declared elsewhere in the GUI specification.
The insert
child element or the insert
attribute may be used to extend the previous definition of a menu bar. More information in About the insert
child element and the insert
attribute.
Attributes:
Required. Unique name identifying the menu bar in this GUI specification.
Online help ID of the menu bar.
Example: standard menu bar:
<menuBar name="menuBar" helpId="menuBar"> <menu name="fileMenu" /> <menu name="selectMenu" /> <menu name="editMenu" /> <menu name="searchMenu" /> <menu name="viewMenu" /> <menu name="toolsMenu" /> <menu name="configSpecificMenu" /> <menu name="windowMenu" /> <menu name="optionsMenu" /> <menu name="helpMenu" /> </menuBar>
Example: add extra menu charactersMenu
at the end of the standard menu bar:
<menuBar name="menuBar"> <insert /> <menu name="charactersMenu" /> </menuBar>