Specifications
Athena Widget Set libXaw 1.0.7
6.6.1. Resources
When creating a Tree widget instance, the following resources are retrievedfrom the argument
list or from the resource database:
Name Class Type Notes Default Value
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean D True
autoReconfigure AutoReconfigure Boolean False
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
children ReadOnly WidgetList R NULL
colormap Colormap Colormap Parent’sColormap
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
foreground Foreground Pixel XtDefaultForeground
gravity Gravity XtGravity WestGravity
height Height Dimension A see Layout Semantics
hSpace HSpace Dimension 4
lineWidth LineWidth Dimension 0
mappedWhenManaged MappedWhenManaged Boolean True
numChildren ReadOnly Cardinal R 0
screen Screen Screen R Parent’sScreen
sensitive Sensitive Boolean True
vSpace VSpace Dimension 4
translations Translations TranslationTable NULL
width Width Dimension Asee Layout Semantics
xPosition Position 0
yPosition Position 0
autoReconfigure Whether or not to layout the tree every time a node is added or removed.
background A pixel value which indexesthe widget’scolormap to derive the back-
ground color of the widget’swindow.
backgroundPixmap The background pixmap of this widget’swindow. Ifthis resource is set
to anything other than XtUnspecifiedPixmap,the pixmap specified will
be used instead of the background color.
borderColor A pixel value which indexesthe widget’scolormap to derive the border
color of the widget’swindow.
borderPixmap The border pixmap of this widget’swindow. Ifthis resource is set to
anything other than XtUnspecifiedPixmap,the pixmap specified will be
used instead of the border color.
borderWidth The width of this widget’swindowborder.
children A list of all this composite widget’scurrent children.
colormap The colormap that this widget will use.
depth The depth of this widget’swindow.
destroyCallback All functions on this list are called when this widget is destroyed.
foreground A pixel value which indexesthe widget’scolormap to derive the fore-
ground color of the widget’swindow. This color is also used to render
all 1’sinabitmap one plane deep.
127