Method

PangoAttributeas_shape

Declaration [src]

PangoAttrShape*
pango_attribute_as_shape (
  PangoAttribute* attr
)

Description [src]

Returns the attribute cast to PangoAttrShape.

This is mainly useful for language bindings.

Available since:1.50

Return value

Type: PangoAttrShape

The attribute as PangoAttrShape, or NULL if it’s not a shape attribute.

The data is owned by the instance.
The return value can be NULL.