Pike programming language

Top GTK2 GTK2.Pango GTK2.Pango.FontDescription
➤ GTK2.Pango.FontDescription()->set_variant() GTK2.Pango.FontDescription()->to_filename() ➤

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.

Extracted from as of .