GdkX11.x11_lookup_xdisplay

function x11_lookup_xdisplay(xdisplay: xlib.Display): GdkX11.X11Display {
    // Gjs wrapper for gdk_x11_lookup_xdisplay()
}
  

Find the Gdk.Display corresponding to xdisplay, if any exists.

Since 2.2

xdisplay

a pointer to an X Display

Returns

the Gdk.Display, if found, otherwise null.