Parses a font weight.
The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.
a string to parse.
a pango.types.Weight to store the result in.
if true, issue a g_warning() on bad input.
true if str was successfully parsed.
Parses a font weight.
The allowed values are "heavy", "ultrabold", "bold", "normal", "light", "ultraleight" and integers. Case variations are ignored.