GdkX11.x11_get_default_xdisplay

function x11_get_default_xdisplay(): xlib.Display {
    // Gjs wrapper for gdk_x11_get_default_xdisplay()
}
  

Gets the default GTK+ display.

Returns

the Xlib Display* for the display specified in the `--display` command line option or the `DISPLAY` environment variable.