2
...\" CreSiC.sgm /main/7 1996/08/30 14:54:35 rws $
10
.fl \" force out current output buffer
11
\!!save /psv exch def currentpoint translate 0 0 moveto
14
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
18
.ie \\*(f1 .ds f1 \\n(.f
19
.el .ie \\*(f2 .ds f2 \\n(.f
20
.el .ie \\*(f3 .ds f3 \\n(.f
21
.el .ie \\*(f4 .ds f4 \\n(.f
22
.el .tm ? font overflow
42
.el .tm ? font underflow
48
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
49
.TH "XmCreateSimpleOptionMenu" "library call"
51
\fBXmCreateSimpleOptionMenu\fP \(em A RowColumn widget convenience creation function
52
.iX "XmCreateSimpleOptionMenu"
53
.iX "creation functions" "XmCreateSimpleOptionMenu"
57
#include <Xm/RowColumn\&.h>
58
\fBWidget \fBXmCreateSimpleOptionMenu\fP\fR(
59
\fBWidget \fBparent\fR\fR,
60
\fBString \fBname\fR\fR,
61
\fBArgList \fBarglist\fR\fR,
62
\fBCardinal \fBargcount\fR\fR);
66
\fBXmCreateSimpleOptionMenu\fP creates an instance of a RowColumn widget
67
of type \fBXmMENU_OPTION\fP and returns the associated widget ID\&.
69
This routine creates an OptionMenu and its submenu containing
70
PushButtonGadget or CascadeButtonGadget children\&.
71
The name of each button is \fBbutton_\fP\fIn\fP, where \fIn\fP is an integer
72
from 0 (zero) to the number of buttons in the menu minus 1\&.
73
The name of each separator is \fBseparator_\fP\fIn\fP, where \fIn\fP is an integer
74
from 0 (zero) to the number of separators in the menu minus 1\&.
75
Buttons and separators are named and created in the order they
76
are specified in the RowColumn simple menu creation resources supplied
77
in the argument list\&.
79
Specifies the parent widget ID
81
Specifies the name of the created widget
82
.IP "\fIarglist\fP" 10
83
Specifies the argument list
84
.IP "\fIargcount\fP" 10
85
Specifies the number of attribute/value pairs in the argument list
88
The user can specify resources in a resource file for the automatically
89
created widgets and gadgets of an OptionMenu\&.
90
These widgets (or gadgets) and the associated
92
.IP "Option Menu Label Gadget" 10
94
.IP "Option Menu Cascade Button" 10
97
A number of resources exist specifically for use with this and
98
other simple menu creation routines\&.
99
The only button types allowed in the \fBXmNbuttonType\fP resource are
100
\fBXmPUSHBUTTON\fP, \fBXmCASCADEBUTTON\fP, \fBXmSEPARATOR\fP, and
101
\fBXmDOUBLE_SEPARATOR\fP\&.
102
For a complete definition of RowColumn and its associated resources, see
103
\fBXmRowColumn\fP(3)\&.
106
Returns the RowColumn widget ID\&.
109
\fBXmCreateOptionMenu\fP(3),
110
\fBXmCreateRowColumn\fP(3),
111
\fBXmRowColumn\fP(3), and
112
\fBXmVaCreateSimpleOptionMenu\fP(3)\&.
113
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:21