Screen.getNumber

int getNumber()

Gets the index of screen among the screens in the display to which it belongs. (See [gdk.screen.Screen.getDisplay])

Returns

the index