_____________________________________________________XawPlus

The Ascii Sink Object

Application Header file
Class Header file
Class
Class Name
Superclass
<X11/XawPlus/AsciiSink.h>
<X11/XawPlus/AsciiSinkP.h>
asciiSinkObjectClass
AsciiSink
TextSink

The AsciiSink object is used by a text widget to render the text. It will display all Latin1 Characters in an 8 bit font, Tab and Carriage Return. The name may be a bit misleading, but is left this way for compatibility. This object also reports the text window metrics to the text widgets.

Differences between Xaw and XawPlus

The Background color is changed from XtDefaultBackground to grey75.

Resources

When creating a AsciiSink object instance, the following resources are retrieved from the argument list of XtSetValues() or XtVaSetValues() or from the resource database:

Name Class RepType Default Value
OBJECT:
destroyCallback Callback Pointer NULL
TEXTSINK OBJECT:
font
foreground
background
Font
Foreground
Background
XFontStruct *
Pixel
Pixel
XtDefaultFont
XtDefaultForeground
grey75
ASCIISINK OBJECT:
echo
displayNonprinting
Output
Output
Boolean
Boolean
True
True

XawPlus_____________________________________________________