GdkX11.x11_get_xatom_by_name_for_display
function x11_get_xatom_by_name_for_display(display: GdkX11.X11Display, atom_name: String): xlib.Atom { // Gjs wrapper for gdk_x11_get_xatom_by_name_for_display() }
Returns the X atom for a Gdk.Display corresponding to atom_name. This function caches the result, so if called repeatedly it is much faster than XInternAtom(), which is a round trip to the server each time.
Since 2.2
- display
- atom_name
a string
- Returns
a X atom for a Gdk.Display