# Ascii Sink Object and Multi Sink Object

    Application Header file	<X11/Xaw/AsciiSink.h>

    Class Header file	<X11/Xaw/AsciiSinkP.h>

    Class		asciiSinkObjectClass

    Class Name	AsciiSink

    Superclass	TextSink

The AsciiSink or MultiSink object is used by a text widget to render the text. Depending on its `international` resource, a AsciiText widget will create one or the other of these when the AsciiText itself is created. Both types are nearly identical; the following discussion applies to both, with MultiSink differences noted only as they occur. The AsciiSink will display all printing characters in an 8 bit font, along with handling Tab and Carriage Return. The name has been left as AsciiSink for compatibility. The MultiSink will display all printing characters in a font set, along with handling Tab and Carriage Return. The source object also reports the text window metrics to the text widgets.

## Resources

When creating an AsciiSink object instance, the following resources are retrieved from the argument list or from the resource database:

Name | Class | Type | Notes | Default Value
background | Background | Pixel |  | XtDefaultBackground
destroyCallback | Callback | XtCallbackList |  | NULL
displayNonprinting | Output | Boolean |  | True
echo | Output | Boolean |  | True
font | Font | XFontStruct* |  | XtDefaultFont
fontSet | FontSet | XFontSet |  | XtDefaultFontSet
foreground | Foreground | Pixel |  | XtDefaultForeground
_

This resource is retrieved by the AsciiSink instead of being copied from the Text widget.

The text font to use when displaying the `string`. (This resource is present in the AsciiSink, but not the MultiSink.)

The text font set to use when displaying the `string`. (This resource is present in the MultiSink, but not the AsciiSink.)