FontDescription.getStyle

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

See [pango.font_description.FontDescription.setStyle].

Returns

the style field for the font description.

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