Blob Blame History Raw
.DT
.TH "XmVaCreateCommand" "library call"
.SH "NAME"
\fBXmVaCreateCommand\fP,
\fBXmVaCreateManagedCommand\fP \(em A Command
widget convenience creation functions\&.
.iX "XmVaCreateCommand" "XmVaCreateManagedCommand"
.iX "creation functions"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Command\&.h>
.PP
\fBWidget \fBXmVaCreateCommand\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\&.\&.\&.);
.PP
\fBWidget \fBXmVaCreateManagedCommand\fP\fR(
\fBWidget \fBparent\fR\fR,
\fBString \fBname\fR\fR,
\&.\&.\&.);
.fi
.SH "DESCRIPTION"
.PP
These functions create an instance of a
Command widget and returns the associated widget ID\&.
These routines use the ANSI C variable-length argument list (\fIvarargs\fP)
calling convention\&.
.PP
The \fBXmVaCreateCommand\fP function
is a convenience routine that calls \fBXtCreateWidget\fP\&.
.PP
The \fBXmVaCreateManagedCommand\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 Command and its associated
resources, see \fBXmCommand\fP(3)\&.
.SH "RETURN"
.PP
Returns the Command widget ID\&.
.SH "RELATED"
.PP
\fBXmCommand\fP(3),
\fBXmCreateCommand\fP(3),
\fBXtCreateWidget\fP(3), and
\fBXtCreateManagedWidget\fP(3)\&.