GdkX11.x11_get_default_screen
function x11_get_default_screen(): Number(gint) {
// Gjs wrapper for gdk_x11_get_default_screen()
}
Gets the default GTK+ screen number.
- Returns
returns the screen number specified by the --display command line option or the DISPLAY environment variable when gdk_init() calls XOpenDisplay().