get_platform Function

Defined in pyglet.window

get_platform()

Get an instance of the Platform most appropriate for this system.

Warning

Deprecated. Use pyglet.canvas.Display.

Return type:Platform
Returns:The platform instance.

Previous topic

WindowException

Next topic

Importing pyglet