Blob Blame History Raw
'\" t
...\" OptionLa.sgm /main/8 1996/09/08 20:55:05 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 "XmOptionLabelGadget" "library call"
.SH "NAME"
\fBXmOptionLabelGadget\fP \(em A RowColumn function that obtains the widget ID for the LabelGadget in an OptionMenu
.iX "XmOptionLabelGadget"
.iX "RowColumn functions" "XmOptionLabelGadget"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RowColumn\&.h>
\fBWidget \fBXmOptionLabelGadget\fP\fR(
\fBWidget \fBoption_menu\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmOptionLabelGadget\fP
provides the application with the means for obtaining the
widget ID for the internally created LabelGadget\&.
Once the application has obtained the widget ID, it can
adjust the visuals for the LabelGadget, if desired\&.
.IP "\fIoption_menu\fP" 10
Specifies the OptionMenu widget ID
.PP
When an application creates an instance of the OptionMenu widget, the
widget creates two internal gadgets\&. One is a LabelGadget that is used
to display RowColumn\&'s \fBXmNlabelString\fP resource\&. The other
is a CascadeButtonGadget that displays the current selection and provides
the means for posting the OptionMenu\&'s submenu\&.
.PP
The user can specify resources in a resource file for the automatically
created widgets and gadgets of an OptionMenu\&. The following list
identifies the names of these widgets (or gadgets) and the associated
OptionMenu areas\&.
.IP "Option Menu Label Gadget" 10
\fBOptionLabel\fP
.IP "Option Menu Cascade Button" 10
\fBOptionButton\fP
.PP
For a complete definition of RowColumn and its associated resources, see
\fBXmRowColumn\fP(3)\&.
.SH "RETURN"
.PP
Returns the widget ID for the internal label\&.
.SH "RELATED"
.PP
\fBXmCreateOptionMenu\fP(3), \fBXmLabelGadget\fP(3),
\fBXmOptionButtonGadget\fP(3), and \fBXmRowColumn\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:27