PgAttribute.typeRegister

Allocate a new attribute type ID. The attribute type name can be accessed later by using pango_attr_type_get_name().

class PgAttribute
static
typeRegister
(
string name
)

Parameters

name string

an identifier for the type

Return Value

the new type ID.