]> 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 a50d094fb656a20bb4b75396490855fda378ffc2..ffdc9e4a1701ff8197c271bcae12e4badd4d5e38 100644 (file)
@@ -151,7 +151,11 @@ class _DisplayCore:
         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
 
         """