|
Packit |
b099d7 |
'\" t
|
|
Packit |
b099d7 |
...\" CrePuA.sgm /main/8 1996/09/08 20:34:44 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 "XmCreatePulldownMenu" "library call"
|
|
Packit |
b099d7 |
.SH "NAME"
|
|
Packit |
b099d7 |
\fBXmCreatePulldownMenu\fP \(em A RowColumn widget convenience creation function
|
|
Packit |
b099d7 |
.iX "XmCreatePulldownMenu"
|
|
Packit |
b099d7 |
.iX "creation functions" "XmCreatePulldownMenu"
|
|
Packit |
b099d7 |
.SH "SYNOPSIS"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
.nf
|
|
Packit |
b099d7 |
#include <Xm/RowColumn\&.h>
|
|
Packit |
b099d7 |
\fBWidget \fBXmCreatePulldownMenu\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 |
\fBXmCreatePulldownMenu\fP creates an instance of a
|
|
Packit |
b099d7 |
RowColumn widget of type \fBXmMENU_PULLDOWN\fP and returns
|
|
Packit |
b099d7 |
the associated widget ID\&.
|
|
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 |
Specifies the number of attribute/value pairs in the argument list
|
|
Packit |
b099d7 |
(\fIarglist\fP)\&.
|
|
Packit |
b099d7 |
When this function is used to create the Pulldown
|
|
Packit |
b099d7 |
menu pane, a MenuShell widget is automatically created as the parent of the
|
|
Packit |
b099d7 |
menu pane\&. If the widget specified
|
|
Packit |
b099d7 |
by the \fIparent\fP parameter is a
|
|
Packit |
b099d7 |
Popup or a Pulldown menu pane, the MenuShell
|
|
Packit |
b099d7 |
widget is created as a child of the \fIparent\fP MenuShell; otherwise, it
|
|
Packit |
b099d7 |
is created as a child of the specified \fIparent\fP widget\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmCreatePulldownMenu\fP is
|
|
Packit |
b099d7 |
provided as a convenience function for creating RowColumn
|
|
Packit |
b099d7 |
widgets configured to operate as Pulldown menu panes and is not implemented as
|
|
Packit |
b099d7 |
a separate widget class\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
A Pulldown menu pane displays a
|
|
Packit |
b099d7 |
3-D shadow, unless the feature is disabled by the application\&.
|
|
Packit |
b099d7 |
The shadow appears around the edge of the menu pane\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
A Pulldown menu pane is used with submenus that are to be
|
|
Packit |
b099d7 |
attached to a CascadeButton or a
|
|
Packit |
b099d7 |
CascadeButtonGadget\&. This is the case for all menu panes
|
|
Packit |
b099d7 |
that are part of a PulldownMenu system (a MenuBar), the menu pane
|
|
Packit |
b099d7 |
associated with an OptionMenu, and any menu panes that cascade from
|
|
Packit |
b099d7 |
a Popup menu pane\&. Pulldown menu panes that are to be associated with an
|
|
Packit |
b099d7 |
OptionMenu must be created before the OptionMenu is created\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
The Pulldown menu pane must be attached to a CascadeButton or CascadeButtonGadget
|
|
Packit |
b099d7 |
that resides in a MenuBar, a Popup menu pane, a Pulldown menu pane, or an
|
|
Packit |
b099d7 |
OptionMenu\&. It is attached with the button resource \fBXmNsubMenuId\fP\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
A MenuShell widget is required between the Pulldown menu pane and its
|
|
Packit |
b099d7 |
parent\&.
|
|
Packit |
b099d7 |
If the application uses this convenience function for creating a
|
|
Packit |
b099d7 |
Pulldown menu pane, the MenuShell is automatically created as the real
|
|
Packit |
b099d7 |
parent of the menu pane; otherwise,
|
|
Packit |
b099d7 |
it is the application\&'s responsibility to create
|
|
Packit |
b099d7 |
the MenuShell widget\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
To function correctly when incorporated into a menu, the Pulldown menu pane\&'s
|
|
Packit |
b099d7 |
hierarchy must be considered\&. This hierarchy depends on the
|
|
Packit |
b099d7 |
type of menu system that is being built, as follows:
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
If the Pulldown menu pane is to be pulled down from a MenuBar, its \fIparent\fP
|
|
Packit |
b099d7 |
must be the MenuBar\&.
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
If the Pulldown menu pane is to be pulled down from a Popup or another
|
|
Packit |
b099d7 |
Pulldown menu pane, its \fIparent\fP must be that Popup or Pulldown menu pane\&.
|
|
Packit |
b099d7 |
.IP " \(bu" 6
|
|
Packit |
b099d7 |
If the Pulldown menu pane is to be pulled down from an OptionMenu, its
|
|
Packit |
b099d7 |
\fIparent\fP must be the same as the OptionMenu parent\&.
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
PullDown menu panes support tear-off capabilities
|
|
Packit |
b099d7 |
for tear-off menus through \fBXmRowColumn\fP
|
|
Packit |
b099d7 |
resources\&.
|
|
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 |
\fBXmCreateOptionMenu\fP(3),
|
|
Packit |
b099d7 |
\fBXmCreatePopupMenu\fP(3),
|
|
Packit |
b099d7 |
\fBXmCreateSimplePulldownMenu\fP(3),
|
|
Packit |
b099d7 |
\fBXmMenuShell\fP(3),
|
|
Packit |
b099d7 |
\fBXmRowColumn\fP(3), and
|
|
Packit |
b099d7 |
\fBXmVaCreateSimplePulldownMenu\fP(3)\&.
|
|
Packit |
b099d7 |
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:20
|