rc_property_parse_enum

function rc_property_parse_enum(pspec:GObject.ParamSpec, gstring:GLib.String, property_value:GObject.Value):Boolean {
    // Gjs wrapper for gtk_rc_property_parse_enum()
}

A Gtk.RcPropertyParser for use with install_property_parser or Gtk.install_style_property_parser which parses a single enumeration value.

The enumeration value can be specified by its name, its nickname or its numeric value. For consistency with flags parsing, the value may be surrounded by parentheses.

pspec

a GObject.ParamSpec

gstring

the GLib.String to be parsed

property_value

a GObject.Value which must hold enum values.

Returns

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