Blob Blame History Raw
'\" t
...\" CreMeA.sgm /main/8 1996/09/08 20:33:32 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmCreateMenuBar" "library call"
.SH "NAME"
\fBXmCreateMenuBar\fP \(em A RowColumn widget convenience creation function
.iX "XmCreateMenuBar"
.iX "creation functions" "XmCreateMenuBar"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RowColumn\&.h>
\fBWidget \fBXmCreateMenuBar\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\fBArgList \fBarglist\fR\fR,
\fBCardinal \fBargcount\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmCreateMenuBar\fP creates an instance of a RowColumn widget
of type \fBXmMENU_BAR\fP and returns the
associated widget ID\&. It is provided as a convenience
function for creating RowColumn
widgets configured to operate as a MenuBar and is not implemented as a
separate widget class\&.
.PP
The MenuBar widget is generally used for building a Pulldown
menu system\&. Typically, a MenuBar is created and placed along the
top of the application window, and several CascadeButtons
are inserted as the children\&. Each of the CascadeButtons has a
Pulldown menu pane associated with it\&.
These Pulldown menu panes must have been created as children of the MenuBar\&.
The user interacts with the MenuBar by using either the mouse or
the keyboard\&.
.PP
The MenuBar displays a 3-D shadow along its border\&. The application
controls the shadow attributes using the visual-related resources
supported by \fBXmManager\fP\&.
.PP
The MenuBar widget is homogeneous in that it accepts only children
that are a subclass of \fBXmCascadeButton\fP or
\fBXmCascadeButtonGadget\fP\&.
Attempting to insert a child of a different class results in a warning
message\&.
.PP
If the MenuBar does not have enough room to fit all of its subwidgets on a
single line, the MenuBar attempts to wrap the remaining entries onto
additional lines if allowed by the geometry manager of the parent widget\&.
.IP "\fIparent\fP" 10
Specifies the parent widget ID
.IP "\fIname\fP" 10
Specifies the name of the created widget
.IP "\fIarglist\fP" 10
Specifies the argument list
.IP "\fIargcount\fP" 10
Specifies the number of attribute/value pairs in the argument list
(\fIarglist\fP)
.PP
For a complete definition of RowColumn and its associated resources, see
\fBXmRowColumn\fP(3)\&.
.SH "RETURN"
.PP
Returns the RowColumn widget ID\&.
.SH "RELATED"
.PP
\fBXmCascadeButton\fP(3),
\fBXmCascadeButtonGadget\fP(3),
\fBXmCreatePulldownMenu\fP(3),
\fBXmCreateSimpleMenuBar\fP(3),
\fBXmManager\fP(3),
\fBXmRowColumn\fP(3), and
\fBXmVaCreateSimpleMenuBar\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:20