From: Simon Forman Date: Wed, 8 May 2019 06:23:53 +0000 (-0700) Subject: Docs on Start Up Sequence X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e0d8910242a3703e100d2eb0c54c1ec2c9f2d512;p=joypy%2FThun.git Docs on Start Up Sequence --- diff --git a/docs/VUI-docs/build/doctrees/environment.pickle b/docs/VUI-docs/build/doctrees/environment.pickle index af23363..ae5e7e7 100644 Binary files a/docs/VUI-docs/build/doctrees/environment.pickle and b/docs/VUI-docs/build/doctrees/environment.pickle differ diff --git a/docs/VUI-docs/build/doctrees/index.doctree b/docs/VUI-docs/build/doctrees/index.doctree index e5883d0..32d4306 100644 Binary files a/docs/VUI-docs/build/doctrees/index.doctree and b/docs/VUI-docs/build/doctrees/index.doctree differ diff --git a/docs/VUI-docs/build/html/_sources/index.rst.txt b/docs/VUI-docs/build/html/_sources/index.rst.txt index 7adeebc..528549c 100644 --- a/docs/VUI-docs/build/html/_sources/index.rst.txt +++ b/docs/VUI-docs/build/html/_sources/index.rst.txt @@ -152,6 +152,21 @@ Modules persist_task +Start Up Sequence +------------------------------ + +PersistTask is the first (non-PyGame-specific) object created. + +The ``screen``, ``clock``, and ``pt`` are created in ``init()`` and passed +into ``main()``, which calls ``init_context()`` and then starts +the main loop. + +During ``init_context()`` a few text viewers are opened on files +in the home dir with the help of the ``pt``. Then the main loop +is started and the ``pt`` task is installed and ``pt`` and ``world`` +handlers are registered. + + Indices and tables ------------------ diff --git a/docs/VUI-docs/build/html/index.html b/docs/VUI-docs/build/html/index.html index 277979e..6017857 100644 --- a/docs/VUI-docs/build/html/index.html +++ b/docs/VUI-docs/build/html/index.html @@ -151,6 +151,17 @@ instead, but for now look for output in the terminal.

+
+

Start Up Sequence¶

+

PersistTask is the first (non-PyGame-specific) object created.

+

The screen, clock, and pt are created in init() and passed +into main(), which calls init_context() and then starts +the main loop.

+

During init_context() a few text viewers are opened on files +in the home dir with the help of the pt. Then the main loop +is started and the pt task is installed and pt and world +handlers are registered.

+

Indices and tables¶