Attribute.asInt

Returns the attribute cast to pango.attr_int.AttrInt.

This is mainly useful for language bindings.

class Attribute
asInt
()

Return Value

Type: pango.attr_int.AttrInt

The attribute as pango.attr_int.AttrInt, or null if it's not an integer attribute