Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: prob with some resources in /usr/lib/X11/app-defaults/ file Message-ID: <8910261825.AA09304@expo.lcs.mit.edu> Date: 26 Oct 89 18:25:30 GMT References: <2643@lll-lcc.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 27 > I'm having similar problems with Athena text widget > resources, although I have not yet been able to verify if this is > related to one particular text resource such as textOptions, or if it > is related to all text resources. The Text widget is a little unique with respect to resources. 1) Several of the resources operate on the Sink or Source assocaited with the text widget. This means that "foo*Text.font" will not work, you should use "foo*Text*font". The documentation is unclear as to which resources are properties of the source or sink, so you may have to experiment a little, in 99% of the cases it is safe to always use "Text*." 2) TextOptions does not have a converter to convert strings to TextOptions, so there is no way to specify text options in a resource file. Both of these problems will be fixed in R4. #1 with documentation, and #2 with new code. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213