RcProperty.parseFlags

bool parseFlags(gobject.param_spec.ParamSpec pspec, glib.string_.String gstring, gobject.value.Value propertyValue)

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

pspeca #GParamSpec
gstringthe #GString to be parsed
propertyValuea #GValue which must hold flags values.

Returns

true if gstring could be parsed and property_value

has been set to the resulting flags value.