register


Description:

public static AttrType register (string name)

Allocate a new attribute type ID.

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

Parameters:

name

an identifier for the type

Returns:

the new type ID.