RcProperty.parseFlags

A #GtkRcPropertyParser for use with gtk.settings.Settings.installPropertyParser or gtk.widget_class.WidgetClass.installStylePropertyParser which parses flags.

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

Parameters

pspec gobject.param_spec.ParamSpec

a #GParamSpec

gstring glib.string_.String

the #GString to be parsed

propertyValue gobject.value.Value

a #GValue which must hold flags values.

Return Value

Type: bool

true if gstring could be parsed and property_value has been set to the resulting flags value.