get_xatom_name


Description:

[ CCode ( cname = "gdk_x11_get_xatom_name_for_display" ) ]
public unowned string get_xatom_name (Atom xatom)

Returns the name of an X atom for its display.

This function is meant mainly for debugging, so for convenience, unlike XAtomName and the result doesn’t need to be freed.

Parameters:

xatom

an X atom

display

the `GdkDisplay` where xatom is defined

Returns:

name of the X atom; this string is owned by GDK, so it shouldn’t be modified or freed.