Specifications
Athena Widget Set libXaw 1.0.7
3.1.1. Resources
When creating a Command widget instance, the following resources are retrievedfrom the argu-
ment list or from the resource database:
Name Class Type Notes Default Value
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean D True
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
bitmap Bitmap Pixmap None
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
callback Callback XtCallbackList NULL
colormap Colormap Colormap Parent’sColormap
cornerRoundPercent CornerRoundPercent Dimension 25
cursor Cursor Cursor None
cursorName Cursor String NULL
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
encoding Encoding UnsignedChar XawTextEncoding8bit
font Font XFontStruct XtDefaultFont
foreground Foreground Pixel XtDefaultForeground
height Height Dimension A graphic height + 2 * internalHeight
highlightThickness Thickness Dimension A 2(0ifShaped)
insensitiveBorder Insensitive Pixmap GreyPixmap
internalHeight Height Dimension 2
internalWidth Width Dimension 4
international International Boolean C False
justify Justify Justify XtJustifyCenter (center)
label Label String name of widget
leftBitmap LeftBitmap Bitmap None
mappedWhenManaged MappedWhenManaged Boolean True
pointerColor Foreground Pixel XtDefaultForeground
pointerColorBackground Background Pixel XtDefaultBackground
resize Resize Boolean True
screen Screen Screen R Parent’sScreen
sensitive Sensitive Boolean True
shapeStyle ShapeStyle ShapeStyle Rectangle
translations Translations TranslationTable See below
width Width Dimension Agraphic width + 2 * internalWidth
xPosition Position 0
yPosition Position 0
accelerators A list of event to action bindings to be executed by this widget, even
though the event occurred in another widget. (See the XToolkit Intrin-
sics — C Language Interface for details).
ancestorSensitive The sensitivity state of the ancestors of this widget. Awidget is insensi-
tive ifeither it or anyofits ancestors is insensitive.This resource should
not be changed with XtSetValues,although it may be queried.
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
19