### Struct

# Pango AttrClass

since: 1.0

#### 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`

  The type ID for this attribute.

`copy`

  Function to duplicate an attribute of this type (see `pango_attribute_copy()`)

`destroy`

  Function to free an attribute of this type (see `pango_attribute_destroy()`)

`equal`

  Function to check two attributes of this type for equality (see `pango_attribute_equal()`)

Available since: 1.0