getWeight

Gets the weight field of a font description.

See method@Pango.FontDescription.set_weight.

Return

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.