get_display Function

Defined in pyglet.canvas

get_display()

Get the default display device.

If there is already a Display connection, that display will be returned. Otherwise, a default Display is created and returned. If multiple display connections are active, an arbitrary one is returned.

Note

Since pyglet 1.2

Return type:Display

Previous topic

ScreenMode Class

Next topic

pyglet.clock