home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20655 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!das.wang.com!wang!news
  3. From: ori@marvin.technion.ac.il (Ori Degani)
  4. Subject: Re: PLEASE HELP ME WITH THIS CALLBACK PROBLEM!
  5. Organization: Heart of Gold Institute
  6. Date: Thu, 31 Dec 1992 02:08:51 GMT
  7. Message-ID: <1992Dec31.020851.8697@discus.technion.ac.il>
  8. References: <1992Dec26.140057.62273@cc.usu.edu>
  9. Sender: news@wang.com
  10. Lines: 22
  11.  
  12. sllkz@cc.usu.edu wrote:
  13.  
  14. :   Hi all,
  15. :          I have a problem regarding text widget. I have a text widget which
  16. : always reads from a file and displays its contents. But the problem is that
  17. : the callbacks relating to text widget are for activate,focus,.... etc while
  18. : I NEED to invoke the callback always, no matter what. These predefined
  19. : callbacks dont help me at all Since the user will be doing other things that
  20. : wouldnt activate the predefined callbacks. I hope I have made myself clear
  21. : on this.
  22. :      So the question is: Is there a callback resource I can use with
  23. : XtAddCallback  so that the callback function is always called no matter what.
  24. :     Any help will be appreciated. Thanks in advance.
  25. : Krishna
  26.  
  27. Maybe you want to read the file when it changes?
  28. Then I think you could use XtAddInput()
  29. --
  30.    |  ----      Ori Degani
  31.    |  |___      ori@eddie.technion.ac.il   (Ship Computer on the HOG)
  32.    |  |         ori@marvin.technion.ac.il  (Who else) 
  33.    |  ----      s2973229@techst02.technion.ac.il (Ech..)   
  34.