'\" 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" 3 .SH "NAME" \fBXmCreatePopupMenu\fP \(em A RowColumn widget convenience creation function "XmCreatePopupMenu" "creation functions" "XmCreatePopupMenu" .SH "SYNOPSIS" .PP .nf #include \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