Pango.attr_variant_new
Description: Reference for Pango.attr_variant_new

### Function

# Pango.attr_variant_new

#### Declaration [src]

    PangoAttribute*
    pango_attr_variant_new (
      PangoVariant variant
    )

#### Description [src]

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

#### Parameters

`variant` | `PangoVariant`
| the variant

#### Return value

Returns: `PangoAttribute`
the newly allocated `PangoAttribute`, which should be freed with `pango_attribute_destroy()`.
Ownership of the data is transferred to the caller