set_weight


Description:

public void set_weight (Weight weight)

Sets the weight field of a font description.

The weight field specifies how bold or light the font should be. In addition to the values of the [enum@Pango.Weight] enumeration, other intermediate numeric values are possible.

Parameters:

this

a `PangoFontDescription`

weight

the weight for the font description.