Pango.AttrType.register
Description: Reference for Pango.AttrType.register

### Function

# Pango AttrTyperegister

#### Declaration [src]

    PangoAttrType
    pango_attr_type_register (
      const gchar* name
    )

#### Description [src]

Allocate a new attribute type ID.

The attribute type name can be accessed later by using pango_attr_type_get_name().

#### Parameters

`name` | `const gchar*`
| An identifier for the type.
| The data is owned by the caller of the function.
| The string is a NUL terminated UTF-8 string.

#### Return value

Returns: | `PangoAttrType`
| The new type ID.