Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!dimacs.rutgers.edu!seismo!uunet!ora!bloom-beacon!dont-send-mail-to-path-lines From: gildea@expo.lcs.mit.EDU (Stephen Gildea) Newsgroups: comp.windows.x Subject: Re: resource file format Message-ID: <9103011941.AA07004@excalibur.lcs.mit.edu> Date: 1 Mar 91 19:41:38 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: MIT X Consortium Lines: 16 Can I declare a widget inside a structure? If I did this, I have to refer to it by saying something like: "mystructure.widget". In the app-defaults file, periods (".") are used to "tight-bind" a widget to its ancestors. Would this cause any confusion to Xt? You are confused, not Xt. A widget looks up its resources according to its place in the widget hierarchy. The name of the widget is the string you pass in when you create it. This has nothing to do with the variable names in your C code, which the resource manager can't see anyway. < Stephen MIT X Consortium