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
quarkFromString
(
string str
)

Parameters

str string

a string

Return Value

Type: GQuark

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

Meta