GLib.quark_try_string
function quark_try_string(string: String): GLib.Quark {
// Gjs wrapper for g_quark_try_string()
}
Gets the GLib.Quark associated with the given string, or 0 if string is null or it has no associated GLib.Quark.
If you want the GQuark to be created if it doesn't already exist, use GLib.quark_from_string or GLib.quark_from_static_string.
- string
a string
- Returns
the GLib.Quark associated with the string, or 0 if string is null or there is no GLib.Quark associated with it