Quark.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 g_quark_from_string() or g_quark_from_static_string().

struct Quark
static
GQuark
quarkTryString
(
string str
)

Parameters

str string

a string

Return Value

Type: GQuark

the #GQuark associated with the string, or 0 if @string is %NULL or there is no #GQuark associated with it

Meta