Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xtvacreatemanagedwidget(3) [hpux man page]

XtVaCreateManagedWidget()												 XtVaCreateManagedWidget()

Name
  XtVaCreateManagedWidget - 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.

Description
  XtVaCreateManagedWidget()  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 XtCreateManagedWidget() 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 argu-
  ment lists to specify resources.

See Also
  XtCreateWidget(1), XtCreateManagedWidget(1), XtManageChild(1), XtVaCreateWidget(1), XtVaSetValues(1).

Xt - Widget Lifecycle													 XtVaCreateManagedWidget()

Check Out this Related Man Page

XtCreateManagedWidget() 												   XtCreateManagedWidget()

Name
  XtCreateManagedWidget - create and manage a child widget.

Synopsis
  Widget XtCreateManagedWidget(name, widget_class, parent, args, num_args)
	 String name;
	 WidgetClass widget_class;
	 Widget parent;
	 ArgList args;
	 Cardinal num_args;

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.

  args	      Specifies the argument list to override the resource defaults.

  num_args    Specifies the number of arguments in the argument list.

Returns
  The newly created and managed child widget.

Description
  XtCreateManagedWidget()  creates  a  widget  by  passing  all of its arguments to XtCreateWidget(), and then calling XtManageChild() on the
  resulting widget.  It returns the created and managed widget.

Usage
  You can use XtVaCreateManagedWidget() to do the same thing, except that resource names and values are passed in a variable length  argument
  list, rather than an ArgList.

  If  you  are creating a number of children of an already realized parent, it is more efficient to create them and then manage them all in a
  single call to XtManageChildren().

See Also
  XtCreateWidget(1), XtManageChild(1), XtManageChildren(1), XtVaCreateManagedWidget(1).

Xt - Widget Lifecycle													   XtCreateManagedWidget()
Man Page