]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - displayio/_displaycore.py
Merge pull request #102 from FoamyGuy/set_root_group
[hackapet/Adafruit_Blinka_Displayio.git] / displayio / _displaycore.py
index afb92c8eccedf3a5d5190ea05fd6c7c95419d622..ffdc9e4a1701ff8197c271bcae12e4badd4d5e38 100644 (file)
@@ -18,7 +18,7 @@ Super class of the display classes
 
 """
 
 
 """
 
-__version__ = "0.0.0-auto.0"
+__version__ = "0.0.0+auto.0"
 __repo__ = "https://github.com/adafruit/Adafruit_Blinka_Displayio.git"
 
 
 __repo__ = "https://github.com/adafruit/Adafruit_Blinka_Displayio.git"
 
 
@@ -151,7 +151,11 @@ class _DisplayCore:
         if self._current_group is not None:
             self._current_group._update_transform(self._transform)
 
         if self._current_group is not None:
             self._current_group._update_transform(self._transform)
 
-    def show(self, root_group: Group) -> bool:
+    def get_root_group(self):
+        """The root group on the display."""
+        return self._current_group
+
+    def set_root_group(self, root_group: Group) -> bool:
         # pylint: disable=protected-access
 
         """
         # pylint: disable=protected-access
 
         """