quarkTryString

Gets the #GQuark associated with the given string, or 0 if string is null or it has no associated #GQuark.

If you want the GQuark to be created if it doesn't already exist, use glib.global.quarkFromString or glib.global.quarkFromStaticString.

This function must not be used before library constructors have finished running.

quarkTryString
(
string string_ = null
)

Parameters

string_ string

a string

Return Value

Type: glib.types.Quark

the #GQuark associated with the string, or 0 if string is null or there is no #GQuark associated with it