home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!das.wang.com!wang!news
- From: ori@marvin.technion.ac.il (Ori Degani)
- Subject: Re: PLEASE HELP ME WITH THIS CALLBACK PROBLEM!
- Organization: Heart of Gold Institute
- Date: Thu, 31 Dec 1992 02:08:51 GMT
- Message-ID: <1992Dec31.020851.8697@discus.technion.ac.il>
- References: <1992Dec26.140057.62273@cc.usu.edu>
- Sender: news@wang.com
- Lines: 22
-
- 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..)
-