Atom.intern

gdk.atom.Atom intern(string atomName, bool onlyIfExists)

Finds or creates an atom corresponding to a given string.

Parameters

atomNamea string.
onlyIfExistsif 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.

Returns

the atom corresponding to atom_name.