Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tawindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r--TurtleArt/tawindow.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index c3e6336..448dbf3 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -96,7 +96,8 @@ _UNFULLSCREEN_VISIBILITY_TIMEOUT = 2
_PLUGIN_SUBPATH = 'plugins'
_MACROS_SUBPATH = 'macros'
-global_objects = {} # the global instances of single-instance classes
+# the global instances of single-instance classes
+global_objects = {}
class TurtleArtWindow():
@@ -315,6 +316,9 @@ class TurtleArtWindow():
self._init_plugins()
self._setup_plugins()
+ def get_global_objects(self):
+ return global_objects
+
def _lazy_init(self):
self._init_plugins()
self._setup_plugins()