rc_property_parse_flags
function rc_property_parse_flags(pspec:GObject.ParamSpec, gstring:GLib.String, property_value:GObject.Value):Boolean { // Gjs wrapper for gtk_rc_property_parse_flags() }
A Gtk.RcPropertyParser for use with install_property_parser or Gtk.install_style_property_parser which parses flags.
Flags can be specified by their name, their nickname or numerically. Multiple flags can be specified in the form <literal>"( flag1 | flag2 | ... )"</literal>.
- pspec
- gstring
the GLib.String to be parsed
- property_value
a GObject.Value which must hold flags values.
- Returns
true if gstring could be parsed and property_value has been set to the resulting flags value.