get_weight


Description:

public Weight get_weight ()

Gets the weight field of a font description.

See [method@Pango.FontDescription.set_weight].

Parameters:

this

a `PangoFontDescription`

Returns:

the weight field for the font description. Use [method@Pango.FontDescription.get_set_fields] to find out if the field was explicitly set or not.