RcProperty.parseBorder

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

Parameters

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

Returns

true if gstring could be parsed and property_value

has been set to the resulting #GtkBorder.