[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Jun 26 18:55:38 1995 
Subject:getting and setting constraint resource lists 
From:Benjamin Horowitz 
Volume-ID:950627.01 

I'm trying to get and set the constraint resources of a widget, and I'm  
confused about several things.  The procedure XtGetConstraintResourceList
takes three arguments: a widget, a resourcelistptr, and a cardinalptr.
I'm assuming that a resourcelistptr is a pointer to a resource list.  How
do I create a resourcelistptr for the widget whose constraint resources
I want to see?  Or does such a resourcelistptr already exist?  If so, how
do I access it?  Once I have such a resourcelistptr, how do I access the
elements of the resource list?

Second: do I need to create a cardinalptr?  If so, how do I create it?  If
not, how do I access it?

Third: how do I _set_ the constraint resources of the widget?

Any help that anyone can give will be greatly appreciated.  The only  
person at the place where I work who could help me with these questions
(Robin Popplestone himself, in fact) has left for the summer.

-- Ben Horowitz
   bhorowit@elux3.cs.umass.edu