Package: gdk

Function gdk-atom-intern

Lambda List

gdk-atom-intern (name &optional only-if-exists)

Arguments

name -- a string with the atom name
only-if-exists -- if true, GDK is allowed to not create a new atom, but just return a null-pointer if the requested atom does not already exists. Currently, the flag is ignored, since checking the existance of an atom is as expensive as creating it.

Return Value

The gdk-atom pointer corresponding to name.

Details

Finds or creates an atom corresponding to a given string. The optional argument only-if-exists has the default value false.
 

See also

2021-3-24