Function gdkx11::functions::x11_get_xatom_name[][src]

pub fn x11_get_xatom_name(xatom: Atom) -> Option<GString>
Expand description

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 None, even if xatom is invalid.

xatom

an X atom for GDK’s default display

Returns

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