set_variant


Description:

public void set_variant (Variant variant)

Sets the variant field of a font description.

The [enum@Pango.Variant] can either be pango_variant_normal or pango_variant_small_caps.

Parameters:

this

a `PangoFontDescription`

variant

the variant type for the font description.