| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
GTK2
GTK2.Pango.FontDescription

# Method GTK2.Pango.FontDescription()->set_style()

Method set_style

  `Pango.FontDescription set_style(int style)`

Description

  Sets the style. This describes whether the font is slanted and the manner in which is is slanted. One of PANGO_STYLE_ITALIC , PANGO_STYLE_NORMAL and PANGO_STYLE_OBLIQUE . Most fonts will either have an 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.