X11.getDefaultScreen

Gets the default GTK+ screen number.

class X11
static
int
getDefaultScreen
()

Return Value

Type: int

returns the screen number specified by the --display command line option or the DISPLAY environment variable when gdk_init() calls XOpenDisplay().

Meta