A display device supporting one or more screens.
Use Platform.get_display or Platform.get_default_display to obtain an instance of this class. Use a display to obtain Screen instances.
Deprecated. Use pyglet.canvas.Display.
Get the default screen as specified by the user’s operating system preferences.
Get the available screens.
A typical multi-monitor workstation comprises one Display with multiple Screen s. This method returns a list of screens which can be enumerated to select one for full-screen display.
For the purposes of creating an OpenGL config, the default screen will suffice.
|Return type:||list of Screen|
Get the windows currently attached to this display.
|Return type:||sequence of Window|