mini_arcade_pygame_backend.config ================================= .. py:module:: mini_arcade_pygame_backend.config .. autoapi-nested-parse:: Configuration for the mini-arcade-pygame-backend package. This is mostly used for packaging and distribution. It is not used at runtime. Classes ------- .. autoapisummary:: mini_arcade_pygame_backend.config.PygameBackendSettings Module Contents --------------- .. py:class:: PygameBackendSettings Settings for configuring the pygame backend. :ivar core: Core backend settings. :ivar api: The rendering API to use. .. py:attribute:: core :type: mini_arcade_core.backend.config.BackendSettings .. py:method:: to_dict() -> dict Convert the PygameBackendSettings to a dictionary. :return: Dictionary representation of the settings. :rtype: dict .. py:method:: from_dict(data: dict) -> PygameBackendSettings :classmethod: Create a PygameBackendSettings instance from a dictionary. :param data: Dictionary containing the settings. :type data: dict :return: PygameBackendSettings instance. :rtype: PygameBackendSettings