PrimitiveAttributeCallback


Description:

public delegate Bool PrimitiveAttributeCallback (Primitive primitive, Attribute attribute)

The callback prototype used with foreach_attribute for iterating all the attributes of a Primitive.

The function should return TRUE to continue iteration or FALSE to stop.

Parameters:

primitive

The Primitive whose attributes are being iterated

attribute

The Attribute

user_data

The private data passed to foreach_attribute


Namespace: Cogl
Package: doc