Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!ncar!husc6!endor!kochhar From: kochhar@endor.harvard.edu (Sandeep Kochhar) Newsgroups: comp.windows.x Subject: Re: Dialog Value String problem Keywords: DialogWidget Message-ID: <2424@husc6.harvard.edu> Date: 12 Aug 89 00:26:19 GMT References: <5832@pt.cs.cmu.edu> Sender: news@husc6.harvard.edu Reply-To: kochhar@speed.UUCP (Sandeep Kochhar) Distribution: usa Organization: Aiken Computation Lab, Harvard University Lines: 33 In article <5832@pt.cs.cmu.edu> ldc@a.gp.cs.cmu.edu (Lonnie Chrisman) writes: > >I have a Dialog Widget up and running, but I cannot seem to get the value >of the textual input part. I have tried using XtDialogGetValueString(), >but this seems to always return the starting (default) value, not the >modified value part. On the screen, the value changes as the user types, >but the value returned by XtDialogGetValueString() never changes. > >Does anyone recognize what is going on here? > >Lonnie.Chrisman@cs.cmu.edu A week or so ago, I too had posted the same question. I got some replies, but those didn't solve the problem. After looking a little at the widget code, I believe the problem lies in the fact that the DialogWidget doesn't do anything on a XSetValues call for XtNvalue. I haven't finished looking at the code, so I apologize in advance if what I said is wrong... thx. Sandeep Kochhar (617) 495-9515 mail: kochhar@harvard.harvard.edu Harvard University kochhar@harvard.csnet 33 Oxford st, kochhar@harvard.uucp Cambridge, Ma 02138 kochhar@harvard.bitnet "If you didn't get this message, please let me know."