![]() |
![]() |
![]() |
Gck Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Properties |
GckObjectAttributes; struct GckObjectAttributesIface; GckAttributes * gck_object_attributes_get_attributes (GckObjectAttributes *object
); void gck_object_attributes_set_attributes (GckObjectAttributes *object
,GckAttributes *attributes
);
GckObjectAttributes is an interface implemented by derived classes of GckObject to indicate which attributes they'd like an enumerator to retrieve. These attributes are then cached on the object and can be retrieved through the "attributes" property.
struct GckObjectAttributesIface { GTypeInterface interface; const gulong *attribute_types; gint n_attribute_types; };
Interface for GckObjectAttributes. If the attribute_types
field is set by
a implementing class, then the a GckEnumerator which has been setup using
gck_enumerator_set_object_type()
GTypeInterface |
parent interface |
const gulong * |
attribute types that an enumerator should retrieve. [array length=n_attribute_types] |
gint |
number of attribute types to be retrieved |
GckAttributes * gck_object_attributes_get_attributes
(GckObjectAttributes *object
);
Gets the attributes cached on this object.
|
an object with attributes |
Returns : |
the attributes. [transfer full][allow-none] |
void gck_object_attributes_set_attributes (GckObjectAttributes *object
,GckAttributes *attributes
);
Sets the attributes cached on this object.
|
an object with attributes |
|
the attributes to cache. [allow-none] |
"attributes"
property"attributes" GckAttributes* : Read / Write / Construct
The attributes cached on this object.