The PropOffset structure tells the StdProps system where in the object to store the various values. It is a NULL-terminated list ofPropOffsetstructs (defined inlib/properties.h). EachPropOffsetelement contains the following:This really ought to be folded into the PropDescription structure, IMHO. -- LarsClausen - 05 Sep 2002
const gchar *name: An internal identifier, relating this property to the PropDescription.PropertyType type: The PropType of this property.int offset: The offset into your struct, most easily obtained withoffsetof(MyObject?, field).int offset2: An additional offset used in some special cases.
| Edit -:- Attach -:- Ref-By -:- Printable -:- More |