A display device supporting one or more screens.
Programming Guide - Displays
Since pyglet 1.2
Create a display connection for the given name and screen.
On X11, name is of the form "hostname:display", where the default is usually ":1". On X11, x_screen gives the X screen number to use with this display. A pyglet display can only be used with one X screen; open multiple display connections to access multiple X screens.
Note that TwinView, Xinerama, xrandr and other extensions present multiple monitors on a single X screen; this is usually the preferred mechanism for working with multiple monitors under X11 and allows each screen to be accessed through a single pyglet Display.
Get the default screen as specified by the user’s operating system preferences.
Get the available screens.
For the purposes of creating an OpenGL config, the default screen will suffice.
|Return type:||list of Screen|