Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.748 xmmenubar

xmmenubar(parent, font, color, label1 [,...])

[motif package] Creates a menu bar widget in the parent widget with widget ID parent, using the indicated font and color (or defaults if empty strings or scalars are specified). A menu bar consists of a number of cascade buttons. When you select one of the cascade buttons, then the associated pull-down menu (if any) appears. The cascade button labels (strings) follow after color.

An array of widget IDs is returned; The first one is the menu bar widget id, and the following ones are cascade button IDs for use in attaching pull-down menus to the buttons.

See also: xmattach, xmpulldownmenu