'\" t ...\" CreSiD.sgm /main/7 1996/08/30 14:54:59 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 "XmCreateSimplePopupMenu" "library call" .SH "NAME" \fBXmCreateSimplePopupMenu\fP \(em A RowColumn widget convenience creation function .iX "XmCreateSimplePopupMenu" .iX "creation functions" "XmCreateSimplePopupMenu" .SH "SYNOPSIS" .PP .nf #include \fBWidget \fBXmCreateSimplePopupMenu\fP\fR( \fBWidget \fBparent\fR\fR, \fBString \fBname\fR\fR, \fBArgList \fBarglist\fR\fR, \fBCardinal \fBargcount\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmCreateSimplePopupMenu\fP creates an instance of a RowColumn widget of type \fBXmMENU_POPUP\fP and returns the associated widget ID\&. .PP This routine creates a Popup menu pane and its button children\&. The name of each button is \fBbutton_\fP\fIn\fP, where \fIn\fP is an integer from 0 (zero) to the number of buttons in the menu minus 1\&. The name of each separator is \fBseparator_\fP\fIn\fP, where \fIn\fP is an integer from 0 (zero) to the number of separators in the menu minus 1\&. The name of each title is \fBlabel_\fP\fIn\fP, where \fIn\fP is an integer from 0 (zero) to the number of titles in the menu minus 1\&. Buttons, separators, and titles are named and created in the order in which they are specified in the RowColumn simple menu creation resources supplied in the argument list\&. .IP "\fIparent\fP" 10 Specifies the widget ID of the parent of the MenuShell .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 A number of resources exist specifically for use with this and other simple menu creation routines\&. The only button types allowed in the \fBXmNbuttonType\fP resource are \fBXmCASCADEBUTTON\fP, \fBXmPUSHBUTTON\fP, \fBXmRADIOBUTTON\fP, \fBXmCHECKBUTTON\fP, \fBXmTITLE\fP, \fBXmSEPARATOR\fP, and \fBXmDOUBLE_SEPARATOR\fP\&. 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 \fBXmCreatePopupMenu\fP(3), \fBXmCreateRowColumn\fP(3), \fBXmRowColumn\fP(3), and \fBXmVaCreateSimplePopupMenu\fP(3)\&. ...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:21