This example demonstrates how to define a standard Imagenation menu bar in the [menu bar x] section. It then demonstrates how the label defined in the [menu bar x] section is used in the [menu x label] section.
;standard Imagenation menu bar
[menu bar 1]
menu list 1=file_menu, edit_menu, view_menu, page_menu, layer_menu, tool_menu
menu list 2=group_menu, raster_menu, preference_menu, window_menu, help_menu
. . .
;Definition of the Edit menu
[menu 1 edit_menu]
command id=EDIT
item list 1=EDIT_UNDO, EDIT_REDO, SEPARATOR, EDIT_CUT, EDIT_COPY, EDIT_COPY_DOCUMENT, EDIT_PASTE, SEPARATOR
item list 2=TOOL_RUBOUT, TOOL_ERASEAREA, SEPARATOR, EDIT_FIND, EDIT_PREFS
See also