atomIntern

Finds or creates an atom corresponding to a given string.

static
atomIntern
(
string atomName
,)

Parameters

atomName string

a string.

onlyIfExists int

if TRUE, GDK is allowed to not create a new atom, but just return GDK_NONE if the requested atom doesn't already exists. Currently, the flag is ignored, since checking the existance of an atom is as expensive as creating it.

Return Value

Type: GdkAtom

the atom corresponding to atom_name.

Meta