Blame doc/man/man3/XmCreateMenuBar.3

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