Function

GtkRcPropertyparse_flags

Declaration [src]

gboolean
gtk_rc_property_parse_flags (
  const GParamSpec* pspec,
  const GString* gstring,
  GValue* property_value
)

Description [src]

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 | ... )".

Parameters

pspec GParamSpec
 

A GParamSpec.

 The data is owned by the caller of the function.
gstring GString
 

The GString to be parsed.

 The data is owned by the caller of the function.
property_value GValue
 

A GValue which must hold flags values.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

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