parseStyle
fn
bool parseStyle(string str, out pango.types.Style style, bool warn)Parses a font style.
The allowed values are "normal", "italic" and "oblique", case variations being ignored.
Parameters
str | a string to parse. |
style | a [pango.types.Style] to store the result in. |
warn | if true, issue a g_warning() on bad input. |
Returns
true if str was successfully parsed.