Function
Pangoparse_variant
Declaration [src]
gboolean
pango_parse_variant (
const char* str,
PangoVariant* variant,
gboolean warn
)
Description [src]
Parses a font variant.
The allowed values are “normal” and “smallcaps” or “small_caps”, case variations being ignored.
Parameters
str |
const char* |
A string to parse. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
variant |
PangoVariant |
A |
|
The argument will be set by the function. | |
The called function takes ownership of the data, and is responsible for freeing it. | |
warn |
gboolean |
If |