Method 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
andPANGO_WEIGHT_ULTRALIGHT
, other intermediate numeric values are possible.