home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 19017 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.6 KB

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