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