| 1 |
pyglet.app |
| 2 |
========== |
| 3 |
|
| 4 |
.. automodule:: pyglet.app |
| 5 |
|
| 6 |
Classes |
| 7 |
------- |
| 8 |
|
| 9 |
.. autoclass:: EventLoop |
| 10 |
|
| 11 |
.. rubric:: Methods |
| 12 |
|
| 13 |
.. automethod:: run |
| 14 |
.. automethod:: exit |
| 15 |
.. automethod:: sleep |
| 16 |
|
| 17 |
.. rubric:: Events |
| 18 |
|
| 19 |
.. automethod:: on_enter |
| 20 |
.. automethod:: on_exit |
| 21 |
.. automethod:: on_window_close |
| 22 |
|
| 23 |
.. rubric:: Attributes |
| 24 |
|
| 25 |
.. autoattribute:: has_exit |
| 26 |
|
| 27 |
.. rubric:: Methods (internal) |
| 28 |
|
| 29 |
.. automethod:: enter_blocking |
| 30 |
.. automethod:: exit_blocking |
| 31 |
.. automethod:: idle |
| 32 |
|
| 33 |
.. autoclass:: PlatformEventLoop |
| 34 |
:members: |
| 35 |
:undoc-members: |
| 36 |
|
| 37 |
Functions |
| 38 |
--------- |
| 39 |
|
| 40 |
.. autofunction:: run |
| 41 |
.. autofunction:: exit |
| 42 |
|
| 43 |
Attributes |
| 44 |
---------- |
| 45 |
|
| 46 |
.. autodata:: event_loop |
| 47 |
|
| 48 |
.. autodata:: platform_event_loop |
| 49 |
|
| 50 |
.. autodata:: windows |
| 51 |
|
| 52 |
Exceptions |
| 53 |
---------- |
| 54 |
|
| 55 |
.. autoclass:: AppException |