TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Gets the GLib.Quark associated with the given string, or 0 if string is null or it has no associated GLib.Quark.
null
If you want the GQuark to be created if it doesn't already exist, use g_quark_from_string() or g_quark_from_static_string().
g_quark_from_string()
g_quark_from_static_string()
This function must not be used before library constructors have finished running.
Optional
a string
the GLib.Quark associated with the string, or 0 if string is null or there is no GLib.Quark associated with it
string
Gets the GLib.Quark associated with the given string, or 0 if string is
nullor it has no associated GLib.Quark.If you want the GQuark to be created if it doesn't already exist, use
g_quark_from_string()org_quark_from_static_string().This function must not be used before library constructors have finished running.