NAME
XtVaCreateWidget − create a widget, specifying resources with a varargs list.
SYNOPSIS
Widget XtVaCreateWidget(name, object_class, parent, ..., NULL)
String name;
WidgetClass object_class;
Widget parent;
Inputs
nameSpecifies the resource name for the created widget.
object_class
Specifies the widget class pointer for the created object; may be objectClass or any subclass.
parentSpecifies the parent widget. May be of class Object or any subclass thereof.
..., NULLA NULL-terminated variable-length list of resource name/value pairs to override any other resource specifications.
Returns
A widget of the specified class.
AVAILABILITY
Release 4 and later.
DESCRIPTION
XtVaCreateWidget() creates and returns a widget or object of class widget_class with name name, as a child of parent. It is identical to XtCreateWidget() except that the args array of resource names and values and the num_args argument of that function are replaced with a NULL-terminated variable-length argument list.
See XtCreateWidget() for more information on this function. See XtVaSetValues() for more information on using variable-length argument lists to specify resources.
SEE ALSO
XtCreateManagedWidgetUNIX SYSTEM V/68, XtCreateWidgetUNIX SYSTEM V/68, XtVaCreateManagedWidgetUNIX SYSTEM V/68, XtVaSetValuesUNIX SYSTEM V/68.