as_language


Description:

[ Version ( since = "1.50" ) ]
public unowned AttrLanguage? as_language ()

Returns the attribute cast to `PangoAttrLanguage`.

This is mainly useful for language bindings.

Parameters:

this

A `PangoAttribute` representing a language

Returns:

The attribute as `PangoAttrLanguage`, or null if it's not a language attribute