AttrType.getName

Fetches the attribute type name.

The attribute type name is the string passed in when registering the type using funcPango.AttrType.register.

The returned value is an interned string (see glib.global.internString for what that means) that should not be modified or freed.

struct AttrType
static
string
getName

Parameters

type pango.types.AttrType

an attribute type ID to fetch the name for

Return Value

Type: string

the type ID name (which may be null), or null if type is a built-in Pango attribute type or invalid.