RcProperty.parseFlags

A GtkRcPropertyParser for use with Settings.installPropertyParser or Widget.classInstallStylePropertyParser 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
gstring StringG

the GString to be parsed

propertyValue Value

a gobject.Value 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.