GdkX11.x11_atom_to_xatom_for_display

function x11_atom_to_xatom_for_display(display: GdkX11.X11Display, atom: Gdk.Atom): xlib.Atom {
    // Gjs wrapper for gdk_x11_atom_to_xatom_for_display()
}
  

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.

Since 2.2

display

A Gdk.Display

atom

A Gdk.Atom, or %GDK_NONE

Returns

the X atom corresponding to atom, or %None