as_int


Description:

[ Version ( since = "1.50" ) ]
public unowned AttrInt? as_int ()

Returns the attribute cast to `PangoAttrInt`.

This is mainly useful for language bindings.

Parameters:

this

A `PangoAttribute` such as weight

Returns:

The attribute as `PangoAttrInt`, or null if it's not an integer attribute