PgFontDescription.setVariant

Sets the variant field of a font description. The glib.Variant can either be PANGO_VARIANT_NORMAL or PANGO_VARIANT_SMALL_CAPS.

class PgFontDescription
void
setVariant

Parameters

variant PangoVariant

the variant type for the font description.