parse_stretch
Description:
Parses a font stretch.
The allowed values are "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" and "ultra_expanded". Case variations are ignored and the '_' characters may be omitted.
Parameters:
str |
a string to parse. |
stretch |
a `PangoStretch` to store the result in. |
warn |
if true, issue a warning on bad input. |
Returns:
true if |
Namespace: Pango
Package: pango