Function

GtkRcPropertyparse_border

Declaration [src]

gboolean
gtk_rc_property_parse_border (
  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 borders in the form "{ left, right, top, bottom }" for integers left, right, top and bottom.

Parameters

pspec

Type: GParamSpec

A GParamSpec.

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

Type: GString

The GString to be parsed.

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

Type: GValue

A GValue which must hold boxed values.

The data is owned by the caller of the function.

Return value

Type: gboolean

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