rc_parse_state

function rc_parse_state(scanner:GLib.Scanner):Number {
    // Gjs wrapper for gtk_rc_parse_state()
}

Parses a Gtk.StateType variable from the format expected in a RC file.

scanner

a GLib.Scanner (must be initialized for parsing an RC file)

Returns

GLib.TokenType.none if parsing succeeded, otherwise the token that was expected but not found.