Function gdkx11::functions::x11_get_xatom_name_for_display[][src]

pub fn x11_get_xatom_name_for_display(
    display: &X11Display,
    xatom: Atom
) -> Option<GString>
Expand description

Returns the name of an X atom for its 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.

display

the gdk::Display where xatom is defined

xatom

an X atom

Returns

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