Skip to main content

x11_atom_to_xatom_for_display

Function x11_atom_to_xatom_for_display 

Source
pub fn x11_atom_to_xatom_for_display(display: &X11Display, atom: &Atom) -> Atom
Expand description

Converts from a gdk::Atom to the X atom for a gdk::Display with the same string value. The special value GDK_NONE is converted to None.

§display

A gdk::Display

§atom

A gdk::Atom, or GDK_NONE

§Returns

the X atom corresponding to atom, or None