Path: utzoo!attcan!uunet!husc6!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Shed some light.... Message-ID: <8907252047.AA05611@expo.lcs.mit.edu> Date: 25 Jul 89 20:47:54 GMT References: <8907211359.AA12990@metropolis.super.org> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 28 > 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) asciiDiskWidgetClass will do this, but it will not be fully editable. > 2) Have it so the text of the file is "Editable". Wait for R4 I have added an editable disk source to Xaw. If you can't wait the you can load the file into a string, and use a string source, or you can attempt to use the EDiskSource from xmh, but it is pretty lean and mean. > Any help in further explaining the concept of source and sinks or pointers to > GOOD examples would be priceless!!!!!! Thanks in advance. This has been a much overlooked topic, I promise things will be much better in R4. Patience is a virtue :-) Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213