Quark.quarkFromString

Gets the #GQuark identifying the given string. If the string does not currently have an associated #GQuark, a new #GQuark is created, using a copy of the string.

struct Quark
static
GQuark
quarkFromString
(
string string_
)

Parameters

string_ string

a string

Return Value

Type: GQuark

the #GQuark identifying the string, or 0 if @string is %NULL

Meta