Next: xmmessage, Previous: xmlistsubr, Up: Internal Routines [Contents][Index]
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 (string
s)
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