parse_style


Description:


public bool parse_style (string str, out 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 `PangoStyle` to store the result in.

warn

if true, issue a warning on bad input.

Returns:

true if str was successfully parsed.


Namespace: Pango
Package: pango