Gets the GLib.Quark identifying the given string. If the string does
not currently have an associated GLib.Quark, a new GLib.Quark is created,
using a copy of the string.
This function must not be used before library constructors have finished
running. In particular, this means it cannot be used to initialize global
variables in C++.
Parameters
Optionalstring: string
a string
Returns number
the GLib.Quark identifying the string, or 0 if string is null
Gets the GLib.Quark identifying the given string. If the string does not currently have an associated GLib.Quark, a new GLib.Quark is created, using a copy of the string.
This function must not be used before library constructors have finished running. In particular, this means it cannot be used to initialize global variables in C++.