home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / openloo / 4902 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.4 KB  |  43 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!mcsun!ub4b!reks.uia.ac.be!news
  3. From: teugels@kiwi.uia.ac.be (Tom Teugels)
  4. Subject: Re: OLIT textField and caption widget? 
  5. Message-ID: <1992Dec23.130749.17212@reks.uia.ac.be>
  6. Sender: news@reks.uia.ac.be (USENET News System)
  7. Reply-To: teugels@kiwi.uia.ac.be
  8. Organization: University of Antwerp
  9. Date: Wed, 23 Dec 1992 13:07:49 GMT
  10. Lines: 31
  11.  
  12. In article 92Dec22160750@sunset.gsfc.nasa.gov, raj@sunset.gsfc.nasa.gov (Raj Ramlagan) writes:
  13. >
  14. >I have a textField that's a child of a caption,
  15. >
  16. >a)  I could not get the XtNlabel resource of the caption using a
  17. >    call to XtGetValues().
  18. >
  19. >b)  I set the XtNuserData resource of the textField widget and I
  20. >    could'nt retrieve the value using a call to XtGetValues().
  21. >
  22. >
  23. >Now am I missing something or does ver 3.0 of OLIT suffer from the
  24. >above.
  25. >
  26. >Thanks
  27. >Ray.
  28.  
  29. I have noticed this problem too (with OLIT ver < 3.0). I suspect that this has
  30. something to do with the fact that XtNuserData is an Xt Core resource.
  31. I've had the same difficulties with other resources like XtNwidth and XtNheight,
  32. which are also defined in core. Possibly the OpenLook widget set does not support
  33. retrieval of resources that it didn't define itself (this is only a guess).
  34.  
  35. Is there anyone who has faced the same problem and solved it?
  36.  
  37. Tom Teugels
  38. University of Antwerp
  39. Belgium
  40.  
  41. teugels@kiwi.uia.ac.be
  42.  
  43.