RcProperty.parseRequisition

bool parseRequisition(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 a requisition in the form "{ width, height }" for integers width and height.

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 #GtkRequisition.