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