pub fn parse_style(str: &str, warn: bool) -> Option<Style>
Expand description
Parses a font style.
The allowed values are “normal”, “italic” and “oblique”, case
variations being
ignored.
a string to parse.
if true
, issue a g_warning() on bad input.
true
if @str was successfully parsed.
a Style
to store the result in.