[comp.windows.x.motif] How to get widget resource values?

mbecker@pixel.Berkeley.EDU (Marianne Becker) (10/26/90)

Motif 1.1 changed some of the structures for their widgets and moved resources
from the resource list within the class structure to an extension record.  
XtGetResourceList no longer retrieves these resource values.  Is there a way to
get at the resource values without writing a function to go digging
around in the
structures?  

gabe@hpcvlx.cv.hp.com (Gabe Begeddov) (10/27/90)

   / hpcvlx:comp.windows.x.motif / mbecker@pixel.Berkeley.EDU (Marianne Becker) /  2:26 pm  Oct 25, 1990 /
   Motif 1.1 changed some of the structures for their widgets and moved resources
   from the resource list within the class structure to an extension record.  
   XtGetResourceList no longer retrieves these resource values.  Is there a way to
   get at the resource values without writing a function to go digging
   around in the
   structures?  
   ----------
   
Use XmGetSecondaryResourceData. It is intended to solve exactly the problem
you've identified. There may be some bugs still in the OSF code for this but
our current internal snapshot does the job. 

We are also considering proposing an analogous capability for R5 Xt.

Gabe Beged-Dov   
Interface Technology Operation
Hewlett Packard