PgAttribute.typeRegister

Allocate a new attribute type ID.

The attribute type name can be accessed later by using [type_func@Pango.AttrType.get_name].

class PgAttribute
static
typeRegister
(
string name
)

Parameters

name string

an identifier for the type

Return Value

the new type ID.

Meta