as_color


Description:

[ Version ( since = "1.50" ) ]
public unowned AttrColor? as_color ()

Returns the attribute cast to `PangoAttrColor`.

This is mainly useful for language bindings.

Parameters:

this

A `PangoAttribute` such as foreground

Returns:

The attribute as `PangoAttrColor`, or null if it's not a color attribute




2022 vala-language.org