12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Text <strong>Widget</strong>sResourcesother of these when the AsciiText itself is created. Both types are nearly identical;the following discussion applies to both, with MultiSink differences noted only asthey occur. The AsciiSink will display all printing characters in an 8 bit font, alongwith handling Tab and Carriage Return. The name has been left as ``AsciiSink'' forcompatibility. \fIThe MultiSink will display all printing characters in a font set, alongwith handling Tab and Carriage Return.\fP The source object also reports the textwindow metrics to the text widgets.When creating an AsciiSink object instance, the following resources are retrievedfrom the argument list or from the resource database:Name Class Type Notes Default Valuebackground Background Pixel XtDefault-Backgrounddestroy-CallbackdisplayNonprintingCallback XtCallbackList NULLOutput Boolean Trueecho Output Boolean Truefont Font XFontStruct* XtDefaultFontfont<strong>Set</strong> Font<strong>Set</strong> XFont<strong>Set</strong> XtDefault-Font<strong>Set</strong>foreground Foreground Pixel XtDefault-Foreground_This resource is retrieved by the AsciiSink instead of being copied from the Textwidget.The text font to use when displaying the string. (This resource is present in theAsciiSink, but not the MultiSink.)The text font set to use when displaying the string. (This resource is present in theMultiSink, but not the AsciiSink.)Ascii Source Object and Multi Source ObjectApplication Header file or Class Header file or Class asciiSrcObjectClass or multiSrcObjectClassClass Name AsciiSrc or MultiSrc93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!