Path: utzoo!utgpu!watserv1!watmath!att!att!emory!wuarchive!zaphod.mps.ohio-state.edu!ncar!gatech!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Specifying resource in resource file Message-ID: <9010232246.AA13367@excess.lcs.mit.edu> Date: 23 Oct 90 22:46:42 GMT References: <989@tredysvr.Tredydev.Unisys.COM> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 14 > I specified in the Goodbye resource file: > > Goodbye*button*XtNlabel: Goodbye > > The program is in OpenLook. The symbol XtNlabel is defined in StringDefs.h to be "label". When you are writing application code and you want to reference the resource named label, you refer to it as XtNlabel, as a convenience. When you are writing resource files, StringDefs.h isn't operative, isn't applicable, so you just name the resource itself. Goodbye*button*label: Goodbye