Function
Pangoparse_style
Declaration [src]
gboolean
pango_parse_style (
const char* str,
PangoStyle* style,
gboolean warn
)
Description [src]
Parses a font style.
The allowed values are “normal”, “italic” and “oblique”, case variations being ignored.
Parameters
str-
Type:
const char*A string to parse.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. style-
Type:
PangoStyleA
PangoStyleto store the result in.The argument will be set by the function. The called function takes ownership of the data, and is responsible for freeing it. warn-
Type:
gbooleanIf
TRUE, issue ag_warning()on bad input.