Declaration [src]

const gchar*
gdk_x11_get_xatom_name (
  Atom xatom

Description [src]

Returns the name of an X atom for GDK’s default display. This function is meant mainly for debugging, so for convenience, unlike XAtomName() and gdk_atom_name(), the result doesn’t need to be freed. Also, this function will never return NULL, even if xatom is invalid.



Type: Atom

An X atom for GDK’s default display.

Return value

Type: const gchar*

Name of the X atom; this string is owned by GTK+, so it shouldn’t be modifed or freed.

The data is owned by the called function.
The value is a NUL terminated UTF-8 string.