screen()

Class: Window.

Description:

Sets or returns the index or the screen that the Window is on.

Parameters:

No parameters

Returns:

Returns this Window if argument is provided, otherwise returns index of the screen this Window is on.

Type: Window | number