Specifications
Athena Widget Set libXaw 1.0.7
void XtManageChildren(children, num_children)
WidgetList children;
Cardinal num_children;
children Specifies a list of children to add.
num_children Specifies the number of children to add.
If the parent is already visible on the screen, it is especially important to batch updates so that the
minimum amount of visible windowreconfiguration is performed.
Forfurther information about these functions, see the XToolkit Intrinsics — C Language Inter-
face.
2.8.2. Destroying Widgets
To destroyawidget instance of anytype, use XtDestroyWidget.
void XtDestroyWidget(w)
Widget w;
w Specifies the widget.
XtDestroyWidget destroys the widget and recursively destroys anychildren that it may have,
including the windows created by its children. After calling XtDestroyWidget,nofurther refer-
ences should be made to the widget or anychildren that the destroyed widget may have had.
2.8.3. Retrieving Widget Resource Values
To retrieve the current value of a resource attribute associated with a widget instance, use XtGet-
Values.
void XtGetValues(w, args, num_args)
Widget w;
ArgList args;
Cardinal num_args;
w Specifies the widget.
args Specifies a variable-length argument list of name and address pairs that contain
the resource name and the address into which the resource value is stored.
num_args Specifies the number of arguments in the argument list.
The arguments and values passed in the argument list are dependent on the widget. Note that the
caller is responsible for providing space into which the returned resource value is copied; the
ArgList contains a pointer to this storage (e.g. x and y must be allocated as Position). Forfurther
information, see the XToolkit Intrinsics — C Language Interface.
2.8.4. Modifying Widget Resource Values
To modify the current value of a resource attribute associated with a widget instance, use XtSet-
Values.
void XtSetValues(w, args, num_args)
Widget w;
ArgList args;
Cardinal num_args;
w Specifies the widget.
args Specifies an array of name and value pairs that contain the arguments to be modi-
fied and their newvalues.
num_args Specifies the number of arguments in the argument list.
11