
.. py:module:: moderngl_window.context.base.window

base.window.WindowConfig
========================

.. autodata:: WindowConfig
   :annotation:

Methods
-------

.. automethod:: WindowConfig.__init__
.. automethod:: WindowConfig.run
.. automethod:: WindowConfig.render
.. automethod:: WindowConfig.resize
.. automethod:: WindowConfig.close
.. automethod:: WindowConfig.add_arguments
.. automethod:: WindowConfig.key_event
.. automethod:: WindowConfig.mouse_position_event
.. automethod:: WindowConfig.mouse_press_event
.. automethod:: WindowConfig.mouse_release_event
.. automethod:: WindowConfig.mouse_drag_event
.. automethod:: WindowConfig.mouse_scroll_event
.. automethod:: WindowConfig.unicode_char_entered
.. automethod:: WindowConfig.load_texture_2d
.. automethod:: WindowConfig.load_texture_array
.. automethod:: WindowConfig.load_texture_cube
.. automethod:: WindowConfig.load_program
.. automethod:: WindowConfig.load_compute_shader
.. automethod:: WindowConfig.load_text
.. automethod:: WindowConfig.load_json
.. automethod:: WindowConfig.load_binary
.. automethod:: WindowConfig.load_scene

Attributes
----------

.. autoattribute:: WindowConfig.window_size
   :annotation:
.. autoattribute:: WindowConfig.vsync
   :annotation:
.. autoattribute:: WindowConfig.fullscreen
   :annotation:
.. autoattribute:: WindowConfig.resizable
   :annotation:
.. autoattribute:: WindowConfig.gl_version
   :annotation:
.. autoattribute:: WindowConfig.title
   :annotation:
.. autoattribute:: WindowConfig.aspect_ratio
   :annotation:
.. autoattribute:: WindowConfig.cursor
   :annotation:
.. autoattribute:: WindowConfig.clear_color
   :annotation:
.. autoattribute:: WindowConfig.samples
   :annotation:
.. autoattribute:: WindowConfig.resource_dir
   :annotation:
.. autoattribute:: WindowConfig.log_level
   :annotation:
.. autoattribute:: WindowConfig.argv
   :annotation:
