Specifications

Athena Widget Set libXaw 1.0.7
Forfurther information, see XToolkit Intrinsics — C Language Interface.
2.4. Common Resources
Although a widget can have unique arguments that it understands, all widgets have common argu-
ments that provide some regularity of operation. The common arguments allowarbitrary widgets
to be managed by higher-levelcomponents without regard for the individual widget type. Wid-
gets will ignore anyargument that theydonot understand.
The following resources are retrievedfrom the argument list or from the resource database by all
of the Athena widgets:
Name Class Type Default Value
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean True
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
colormap Colormap Colormap Parent’sColormap
depth Depth int Parent’sDepth
destroyCallback Callback XtCallbackList NULL
height Height Dimension widget dependent
mappedWhenManaged MappedWhenManaged Boolean True
screen Screen Screen Parent’sScreen
sensitive Sensitive Boolean True
translations Translations TranslationTable widget dependent
width Width Dimension widget dependent
xPosition Position 0
yPosition Position 0
The following additional resources are retrievedfrom the argument list or from the resource data-
base by manyofthe Athena widgets:
Name Class Type Default Value
callback Callback XtCallbackList NULL
cursor Cursor Cursor widget dependent
foreground Foreground Pixel XtDefaultForeground
insensitiveBorder Insensitive Pixmap GreyPixmap
2.5. Resource Conversions
Most resources in the Athena widget set have a converter registered that will translate the string in
aresource file to the correct internal representation. While some are obvious (string to integer,
for example), others need specific mention of the allowable values. Three general converters are
described here:
•Cursor
•Pixel
•Bitmap
Manywidgets have defined special converters that apply only to that widget. When these occur,
the documentation section for that widget will describe the converter.
8