Quark.fromString

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.

class Quark
static
fromString
(
string string
)

Parameters

string string

a string. [allow-none]

Return Value

Type: GQuark

the GQuark identifying the string, or 0 if string is NULL.

Meta