home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!ucbvax!aragorn.CSELT.STET.IT!gnpaolo
- From: gnpaolo@aragorn.CSELT.STET.IT (Gian Paolo Costantino - CSELT - Italy)
- Newsgroups: comp.windows.x.motif
- Subject: Re: Text widgets - no stroke "delay"
- Message-ID: <8DD30F20939F207536@EI3500.CSELT.STET.IT>
- Date: 25 Jan 93 10:34:50 GMT
- References: <9301222210.AA04057@lilbit.tdtech.com>
- Sender: usenet@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 17
-
- Maybe my answer is a bit later, but I received the mail only today.
-
- Prakash Baskaran wrote:
-
- >I used to following technique to solve the problem. It works allright
- >-execpt- that I get the answer one "stroke" later. I am using
- >XmNmotionVerifyCallback to return the x, y position of my cursor. And
-
- The solution for the "delay" should be by using XmNvalueChangedCallback
- instead of the XmNmotionVerifyCallback: the latter is called before the
- insertion or deletion of text, while the former is called after, so the
- content of the XmText in this case is the current actual string.
- ************************************************************************
- * Gian Paolo Costantino *
- * CSELT - Turin - Italy *
- * gnpaolo@aragorn.cselt.stet.it *
- ************************************************************************
-