| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
GTK2
GTK2.Pango.FontDescription

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

Method set_weight

  `Pango.FontDescription set_weight(int weight)`

Description

  Sets the weight. The weight specifies how bold or light the font should be. In addition to the values of PANGO_WEIGHT_BOLD , PANGO_WEIGHT_HEAVY , PANGO_WEIGHT_LIGHT , PANGO_WEIGHT_NORMAL , PANGO_WEIGHT_ULTRABOLD and PANGO_WEIGHT_ULTRALIGHT , other intermediate numeric values are possible.