[comp.windows.x.motif] ASCII Text/File Widget in Motif?

jamey@cache.crc.ricoh.com (Jamey Graham) (01/08/91)

Is there a text widget in the Motif toolkit which resembles the text
widget in the Athena toolkit (or actually the asciiDiskWidgetClass)?
>From what I have read in the documentation, the Motif text widget
handles "text" not files.  Athena widgets can handle files, e.g.,

	XtSetArg (args[i],XtNfile, filename); ++i;
	XawAsciiSaveAsFile (XawTextGetSource(text_widget), FILENAME);

I noticed that the author of "The X Window System, Programming and
Applications with Xt: OSF/MOTIF Edition" essentially wrote his own
ASCII text/file "thing".  Is this what I have to look forward to?



Jamey Graham                      Ricoh California Research Center
jamey@crc.ricoh.com               2882 Sand Hill Road, Suite 115
                                  Menlo Park, CA  94025-7022