as_font_desc


Description:

[ Version ( since = "1.50" ) ]
public unowned AttrFontDesc? as_font_desc ()

Returns the attribute cast to `PangoAttrFontDesc`.

This is mainly useful for language bindings.

Parameters:

this

A `PangoAttribute` representing a font description

Returns:

The attribute as `PangoAttrFontDesc`, or null if it's not a font description attribute