set_style


Description:

public void set_style (Style style)

Sets the style field of a `PangoFontDescription`.

The [enum@Pango.Style] enumeration describes whether the font is slanted and the manner in which it is slanted; it can be either pango_style_normal, pango_style_italic, or pango_style_oblique.

Most fonts will either have a italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found.

Parameters:

this

a `PangoFontDescription`

style

the style for the font description