RcProperty.parseFlags

A #GtkRcPropertyParser for use with gtk_settings_install_property_parser() or gtk_widget_class_install_style_property_parser() which parses flags.

Flags can be specified by their name, their nickname or numerically. Multiple flags can be specified in the form "( flag1 | flag2 | ... )".

struct RcProperty
static
bool
parseFlags

Parameters

pspec ParamSpec

a #GParamSpec

gstring StringG

the #GString to be parsed

propertyValue Value

a #GValue which must hold flags values.

Return: %TRUE if @gstring could be parsed and @property_value has been set to the resulting flags value.

Meta