Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtCreateManagedWidget(1)

XtCreateWidget(1)

XtVaCreateManagedWidget(1)

XtVaSetValues(1)

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

XtCreateManagedWidget(1), XtCreateWidget(1), XtVaCreateManagedWidget(1), XtVaSetValues(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026