1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
'\" t
...\" CrePop.sgm /main/8 1996/09/08 20:34:20 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 "XmCreatePopupMenu" "library call"
.SH "NAME"
\fBXmCreatePopupMenu\fP \(em A RowColumn widget convenience creation function
.iX "XmCreatePopupMenu"
.iX "creation functions" "XmCreatePopupMenu"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RowColumn\&.h>
\fBWidget \fBXmCreatePopupMenu\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\fBArgList \fBarglist\fR\fR,
\fBCardinal \fBargcount\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmCreatePopupMenu\fP creates an instance of a RowColumn widget
of type \fBXmMENU_POPUP\fP and returns
the associated widget ID\&. When this function is used to create the Popup
menu pane, a MenuShell widget is automatically created as the parent of
the menu pane\&.
The parent of the MenuShell widget is the widget indicated by the
\fIparent\fP parameter\&.
.PP
\fBXmCreatePopupMenu\fP is
provided as a convenience function for creating RowColumn
widgets configured to operate as Popup menu panes and is not implemented as
a separate widget class\&.
.PP
The PopupMenu is used as the first menu pane within a PopupMenu system;
all other
menu panes are of the Pulldown type\&. A Popup menu pane displays a
3-D shadow, unless the feature is disabled by the application\&.
The shadow appears around the edge of the menu pane\&.
.PP
The Popup menu pane must be created as the child of a MenuShell widget in
order to function properly when it is incorporated into a menu\&.
If the application uses this convenience function for creating a
Popup menu pane, the MenuShell is automatically created as the real
parent of the menu pane\&.
If the application does not use this convenience function to create the
RowColumn to function as a Popup menu pane,
it is the application\&'s responsibility to create the
MenuShell widget\&.
.PP
To access the PopupMenu, the application must first position the
widget using the
\fBXmMenuPosition\fP function and then manage it using \fBXtManageChild\fP\&.
.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
Popup menu panes support tear-off capabilities
for tear-off menus through \fBXmRowColumn\fP
resources\&.
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
\fBXmCreateSimplePopupMenu\fP(3),
\fBXmMenuPosition\fP(3),
\fBXmMenuShell\fP(3),
\fBXmRowColumn\fP(3), and
\fBXmVaCreateSimplePopupMenu\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:20
|