XtVaCreateWidget()XtVaCreateWidget()NameXtVaCreateWidget - 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
name Specifies the resource name for the created widget.
object_class
Specifies the widget class pointer for the created object;
may be objectClass or any subclass.
parent Specifies the parent widget. May be of class Object or any
subclass thereof.
..., NULL A 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.
DescriptionXtVaCreateWidget() creates and returns a widget or object of class wid‐
get_class with name name, as a child of parent. It is identical to
XtCreateWidget() except that the args array of resource names and val‐
ues 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 AlsoXtCreateManagedWidget(1), XtCreateWidget(1), XtVaCreateManagedWid‐
get(1), XtVaSetValues(1).
Xt - Widget Lifecycle XtVaCreateWidget()