Struct
PangoAttrClass
Description [src]
struct PangoAttrClass {
PangoAttrType type;
PangoAttribute* (* copy) (
const PangoAttribute* attr
);;
void (* destroy) (
PangoAttribute* attr
);;
gboolean (* equal) (
const PangoAttribute* attr1,
const PangoAttribute* attr2
);;
}
The PangoAttrClass
structure stores the type and operations for
a particular type of attribute.
The functions in this structure should not be called directly. Instead,
one should use the wrapper functions provided for PangoAttribute
.
Structure members
type:
PangoAttrType
The type ID for this attribute.
copy:
PangoAttribute* (* copy) ( const PangoAttribute* attr )
Function to duplicate an attribute of this type (see
pango_attribute_copy()
).destroy:
void (* destroy) ( PangoAttribute* attr )
Function to free an attribute of this type (see
pango_attribute_destroy()
).equal:
gboolean (* equal) ( const PangoAttribute* attr1, const PangoAttribute* attr2 )
Function to check two attributes of this type for equality (see
pango_attribute_equal()
).