Blob Blame History Raw
.DT
.TH "XmVaCreateToggleButton" "library call"
.SH "NAME"
\fBXmVaCreateToggleButton\fP,
\fBXmVaCreateManagedToggleButton\fP \(em A ToggleButton
widget convenience creation functions\&.
.iX "XmVaCreateToggleToggleButton" "XmVaCreateManagedToggleButton"
.iX "creation functions" "XmVaCreateToggleButton"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/ToggleB\&.h>
.PP
\fBWidget \fBXmVaCreateToggleButton\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\&.\&.\&.);
.PP
\fBWidget \fBXmVaCreateManagedToggleButton\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\&.\&.\&.);
.fi
.SH "DESCRIPTION"
.PP
These functions create an instance of a
ToggleButtonGadget widget and returns the associated widget ID\&.
These routines use the ANSI C variable-length argument list (\fIvarargs\fP)
calling convention\&.
.PP
The \fBXmVaCreateToggleButton\fP function
is a convenience routine that calls \fBXtCreateWidget\fP\&.
.PP
The \fBXmVaCreateToggleButton\fP
function is a convenience routine that calls \fBXtCreateManagedWidget\fP\&.
.PP
.IP "\fIparent\fP" 10
Specifies the parent widget ID\&.
.IP "\fIname\fP" 10
Specifies the name of the created widget\&.
.IP \fI...\fP
Specifies the variable argument list to override the resource defaults.
.PP
For a complete definition of ToggleButton and its associated
resources, see \fBXmToggleButton\fP(3)\&.
.SH "RETURN"
.PP
Returns the ToggleButton widget ID\&.
.SH "RELATED"
.PP
\fBXmToggleButton\fP(3),
\fBXmCreateToggleButton\fP(3),
\fBXtCreateWidget\fP(3), and
\fBXtCreateManagedWidget\fP(3)\&.