
.. py:module:: demosys.context.base
.. py:currentmodule:: demosys.context.base

demosys.context.base.BaseWindow
===============================

.. autodata:: BaseWindow
   :annotation:

.. autodata:: BaseKeys
   :annotation:

Methods
-------

.. automethod:: BaseWindow.__init__
.. automethod:: BaseWindow.draw
.. automethod:: BaseWindow.clear
.. automethod:: BaseWindow.clear_values
.. automethod:: BaseWindow.use
.. automethod:: BaseWindow.swap_buffers
.. automethod:: BaseWindow.resize
.. automethod:: BaseWindow.close
.. automethod:: BaseWindow.should_close
.. automethod:: BaseWindow.terminate
.. automethod:: BaseWindow.keyboard_event
.. automethod:: BaseWindow.cursor_event
.. automethod:: BaseWindow.print_context_info
.. automethod:: BaseWindow.set_default_viewport

Attributes
----------

.. autoattribute:: BaseWindow.size
.. autoattribute:: BaseWindow.buffer_size
.. autoattribute:: BaseWindow.keys
