Specifications

Athena Widget Set libXaw 1.0.7
management), and a ‘‘Sink’’(which handles the display). There are currently twosupported
sources, the AsciiSrc and MultiSrc, and twosupported sinks, the AsciiSink and MultiSink. Some
of the resources listed beloware not actually resources of the AsciiText, but belong to the associ-
ated source or sink. This is is noted in the explanation of each resource where it applies. When
specifying these resources in a resource file it is necessary to use *AsciiText*resource_name
instead of *AsciiText.resource_name,since theyactually belong to the children of the AsciiText
widget, and not the AsciiTextwidget itself. However, these resources may be set directly on the
AsciiTextwidget at widget creation time, or via XtSetValues.
5.5.1. Resources
When creating an AsciiTextwidget 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
autoFill AutoFill Boolean False
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
bottomMargin Margin Position 2
callback Callback XtCallbackList NULL
colormap Colormap Colormap Parent’sColormap
cursor Cursor Cursor XC_xterm
cursorName Cursor String NULL
dataCompression DataCompression Boolean True
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
displayCaret Output Boolean True
displayNonprinting Output Boolean True
displayPosition TextPosition XawTextPosition 0
echo Output Boolean True
editType EditType XawTextEditType XawtextRead
font Font XFontStruct* XtDefaultFont
fontSet FontSet XFontSet XtDefaultFontSet
foreground Foreground Pixel XtDefaultForeground
height Height Dimension A Font height + margins
insensitiveBorder Insensitive Pixmap GreyPixmap
insertPosition TextPosition int 0
international International Boolean C False
leftMargin Margin Dimension 2
length Length int A length of string
mappedWhenManaged MappedWhenManaged Boolean True
pieceSize PieceSize XawTextPosition BUFSIZ
pointerColor Foreground Pixel XtDefaultForeground
pointerColorBackground Background Pixel XtDefaultBackground
resize Resize XawTextResizeMode XawtextResizeNever
rightMargin Margin Position 2
screen Screen Screen R Parent’sScreen
scrollHorizontal Scroll XawTextScrollMode XawtextScrollNever
scrollVertical Scroll XawTextScrollMode XawtextScrollNever
selectTypes SelectTypes XawTextSelectType* See above
sensitive Sensitive Boolean True
string String String NULL
87