mike@aleytys.UU.NET (Michael Kent) (05/02/89)
Environment: X11R2, UNIX/386 SysV Rel. 3.2 For the application I'm developing, I need to instantiate an asciiDiskWidget prior to the time when the file it will be using has any contents (the file does exist on disk), but before the widget is mapped. I then fill the file, and map the asciiDiskWidget - but the widget shows no file contents, even tho the file does contain text. What must I do to cause the widget to 'pay attention' to the contents of the file? Is this a general problem - does the asciiDiskWidget alway ignore file content added to the file since the widget was instantiated? -- Michael Kent INTERNET: mike@aleytys.UU.NET Center for M.C.E. UUCP: ...!{uflorida, uunet}!aleytys!mike 2521 NW 57th Pl. VOICE: +1-904-335-1573 Gainesville, Fl 32606 "These are MY opinions, get your own!"
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (05/06/89)
> For the application I'm developing, I need to instantiate an > asciiDiskWidget prior to the time when the file it will be using has any > contents (the file does exist on disk), but before the widget > is mapped. I then fill the file, and map the asciiDiskWidget - but the > widget shows no file contents, even tho the file does contain text. > What must I do to cause the widget to 'pay attention' to the contents of the > file? Try destroying the DiskSource and creating a new one. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213