Blob Blame History Raw
'\" t
...\" CreRad.sgm /main/8 1996/09/08 20:35:07 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 "XmCreateRadioBox" "library call"
.SH "NAME"
\fBXmCreateRadioBox\fP \(em A RowColumn widget convenience creation function
.iX "XmCreateRadioBox"
.iX "creation functions" "XmCreateRadioBox"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RowColumn\&.h>
\fBWidget \fBXmCreateRadioBox\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\fBArgList \fBarglist\fR\fR,
\fBCardinal \fBargcount\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmCreateRadioBox\fP creates an instance of a RowColumn widget
of type \fBXmWORK_AREA\fP and returns the
associated widget ID\&. Typically,
this is a composite widget that contains multiple
ToggleButtonGadgets\&.
The RadioBox arbitrates and ensures that at most one
ToggleButtonGadget is on at any time\&.
.PP
Unless the application supplies other values in the \fIarglist\fP, this
function provides initial values for several RowColumn resources\&.
It initializes \fBXmNpacking\fP to \fBXmPACK_COLUMN\fP,
\fBXmNradioBehavior\fP to True, \fBXmNisHomogeneous\fP to True, and
\fBXmNentryClass\fP to \fBXmToggleButtonGadgetClass\fR\&.
.PP
In a RadioBox, the ToggleButton or ToggleButtonGadget resource
\fBXmNindicatorType\fP defaults to \fBXmONE_OF_MANY\fP, and the
ToggleButton or ToggleButtonGadget resource\fBXmNvisibleWhenOff\fP
defaults to True\&.
.PP
This routine is provided as a convenience function for creating
RowColumn widgets\&.
.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
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
\fBXmCreateRowColumn\fP(3),
\fBXmCreateSimpleCheckBox\fP(3),
\fBXmCreateSimpleRadioBox\fP(3),
\fBXmCreateWorkArea\fP(3),
\fBXmRowColumn\fP(3),
\fBXmVaCreateSimpleCheckBox\fP(3), and
\fBXmVaCreateSimpleRadioBox\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:20