FontDescription.getVariant

pango.types.Variant getVariant()

Gets the variant field of a [pango.font_description.FontDescription].

See [pango.font_description.FontDescription.setVariant].

Returns

the variant field for the font description.

Use [pango.font_description.FontDescription.getSetFields] to find out if the field was explicitly set or not.