AttrType.register

Allocate a new attribute type ID.

The attribute type name can be accessed later by using funcPango.AttrType.get_name.

struct AttrType
static
register
(
string name
)

Parameters

name string

an identifier for the type

Return Value

Type: pango.types.AttrType

the new type ID.