XtVaCreateManagedWidget()XtVaCreateManagedWidget()NameXtVaCreateManagedWidget - create and manage a widget, specifying
resources with a varargs list.
Synopsis
Widget XtVaCreateManagedWidget(name, widget_class, parent, ..., NULL)
String name;
WidgetClass widget_class;
Widget parent;
Inputs
name Specifies the resource name for the created widget.
widget_class
Specifies the widget class pointer for the created widget.
Must be rectObjClass or any subclass.
parent Specifies the parent widget. Must be of class Composite or
any subclass thereof.
..., NULL A NULL-terminated variable-length list of resource name/value
pairs to override any other resource specifications.
Returns
The created and managed widget.
Availability
Release 4 and later.
DescriptionXtVaCreateManagedWidget() creates a widget or object named name, of
class widget_class, as a child of parent, and with resource values as
specified in the remaining arguments. It is identical to XtCreateMan‐
agedWidget() 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 XtCreateManagedWidget() for more information on this function. See
XtVaSetValues() for more information on using variable-length argument
lists to specify resources.
See AlsoXtCreateWidget(1), XtCreateManagedWidget(1), XtManageChild(1), XtVaCre‐
ateWidget(1), XtVaSetValues(1).
Xt - Widget Lifecycle XtVaCreateManagedWidget()