as_string


Description:

[ Version ( since = "1.50" ) ]
public unowned AttrString? as_string ()

Returns the attribute cast to `PangoAttrString`.

This is mainly useful for language bindings.

Parameters:

this

A `PangoAttribute` such as family

Returns:

The attribute as `PangoAttrString`, or null if it's not a string attribute