Attribute.asFontDesc

Returns the attribute cast to pango.attr_font_desc.AttrFontDesc.

This is mainly useful for language bindings.

class Attribute
asFontDesc
()

Return Value

Type: pango.attr_font_desc.AttrFontDesc

The attribute as pango.attr_font_desc.AttrFontDesc, or null if it's not a font description attribute