Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!agate!ucbvax!BAE.BELLCORE.COM!aw From: aw@BAE.BELLCORE.COM (Andrew Wason) Newsgroups: comp.windows.x.motif Subject: Re: Setting Widget Resources Message-ID: <9104212157.AA25272@bellcore.bellcore.com> Date: 21 Apr 91 21:57:03 GMT References: <1991Apr18.003956.6310@latcs2.lat.oz.au> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 24 csus.edu!wuarchive!uwm.edu!spool.mu.edu!munnari.oz.au!mel.dit.csiro.au!latcs1!a rthur@ucdavis.ucdavis.edu (Arthur Proestakis) writes: > Can all the resources of a widget be set in a resource file? Only those resources for which a String to 'resource type' converter has been registered. > I am trying to do the following in a resource file: > > app*widget.bottomAttachment: ATTACH_WIDGET > app*widget.bottomWidget: bottom_widget In this case the resource type is XtRWidget and no String to Widget converter has been registered. Wcl (available on export) provides the converter you need. Andrew _______________________________________________________________________________ Andrew Wason Bell Communications Research aw@bae.bellcore.com Piscataway, NJ bellcore!bae!aw