pyglet.config.base

class SurfaceConfig

Surface configuration information returned by a platform.

This describes the information a desired surface or window can support.

__init__(
window: Window,
config: UserConfig,
handle: Any,
) None

A config representing the capabilities of a specific surface.

This is returned by the platform on a specific window and is not meant to be created by users.

Parameters:
  • window (Window) – The current window or display.

  • config (UserConfig) – The requested user configuration.

  • handle (Any) – A handle to the underlying configuration unique to each platform.

property attributes: dict[str, Any]

The public attributes of this configuration.

property is_finalized: bool
class UserConfig

User configuration information.

api: GraphicsAPI
property is_finalized: bool