FontDescription.getWeight

pango.types.Weight getWeight()

Gets the weight field of a font description.

See pango.font_description.FontDescription.setWeight.

Returns

the weight field for the font description.

Use pango.font_description.FontDescription.getSetFields to find out if the field was explicitly set or not.