attr_variant_new


Description:


public Attribute attr_variant_new (Variant variant)

Create a new font variant attribute (normal or small caps).

Parameters:

variant

the variant

Returns:

the newly allocated `PangoAttribute`, which should be freed with [method@Pango.Attribute.destroy].


Namespace: Pango
Package: pango