Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!sun-barr!newstop!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: gadget resource specifying by .Xdefaults file Keywords: gadget resource .Xdefaults Message-ID: <141179@sun.Eng.Sun.COM> Date: 22 Aug 90 23:59:25 GMT References: Sender: news@sun.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 26 In article thsrem@regent.e-technik.tu-muenchen.dbp.de (Thomas Schneider) writes: > myApp.*.Cancel.labelString: CANCEL ^^^^ There seems to be a basic misunderstanding of how resource hierarchies are specified. I never saw this format before, but thinking about it, I guess it does make some sense.... However, what you should probably be doing is myApp*Cancel.labelString: CANCEL That is, ".*." "works, but then you have to count all the widgets in the tree from the top to the bottom in order for it to have any effect. > myApp.*.*.labelString: CANCEL # resource set > I can't see any reason why it shouldn't be possible to do something like that. > I didn't find documentation on that subject. > This happens with SCO ODT Motif. I'm not familiar with SCO's ODT environment, but documentation for resource string specification is rather abundant in the basic MIT docs and your series of O'Reilly manuals. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.