[comp.windows.x] Sittin in the dark.....

dsseewe@SUPER.ORG (Daniel Seewer) (07/21/89)

	How about shedding some light on a subject that has been in the 
dark for me for a while.  TextWidgets!!!!  What are the necessary steps
to have the following actions take place:

		1)  Take an existing file and use it as a "source" for
			the text widget. (I believe source is the correct term)

		2)  Have it so the text of the file is "Editable".

	These steps seem relatively simple.  I am at the point where I can
actually pop a window up that contains the contents of the file but they are
not editable using the asciiDiskWidgetClass.  I can also pop up a window using
the asciiStringWidgetClass that is editable (after allocating the memory for
the string).  Must I read in the entire file into a buffer and then create
an asciiStringWIdgetClass?  I looked at the xedit program which does just what
I want to do but it seemed to use the private header file for TextSrcP.h and
this caused me some concern.  I have RTFMd the intrinsics and Athena 
documentation until I am blue in the face.  Any help in further explaining 
the concept of source and sinks or pointers to GOOD examples would be 
priceless!!!!!!  Thanks in advance.

			Just sitting in the Dark!
		
				Dan Seewer (dsseewe@super.org)