Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!dheller From: dheller@cory.Berkeley.EDU (Dan Heller) Newsgroups: comp.windows.x Subject: Getting Widget resources before creating the widget Message-ID: <14660@pasteur.Berkeley.EDU> Date: 15 Jun 89 05:18:54 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: dheller@cory.Berkeley.EDU (Dan Heller) Organization: University of California, Berkeley Lines: 13 I have now run into enough cases where I need this functionality, that I can no longer think of workarounds. What I need to do is get certain resource values about a widget that I am *about* to create. All the current functions like XtGetResources require having a widget already and passing it to the routine. I want to know some of these values before I create the widget. Many times, I just want to know info about the widget -class-, not an instance --does this make the problem easier to solve? To put it another way, I'd like to call a function which the widget-creation machinery calls that initializes a resource structure -- but avoid creating the widget. Dan Heller