parse_border


Description:

public static bool parse_border (ParamSpec pspec, StringBuilder gstring, Value property_value)

A RcPropertyParser for use with install_property_parser or install_style_property_parser which parses borders in the form `"{ left, right, top, bottom }"` for integers left, right, top and bottom.

Parameters:

pspec

a ParamSpec

gstring

the StringBuilder to be parsed

property_value

a Value which must hold boxed values.

Returns:

true if gstring could be parsed and property_value has been set to the resulting Border.