PgAttribute.variantNew

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

class PgAttribute
static
variantNew

Parameters

variant PangoVariant

the variant

Return Value

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().