FontDescription.getWeight

Gets the weight field of a font description.

See pango.font_description.FontDescription.setWeight.

class FontDescription
getWeight
()

Return Value

Type: pango.types.Weight

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