Commits

Virgil Dupras committed 0d67cda

Added GUIObject.has_view().

  • Participants
  • Parent commits feece3d

Comments (0)

Files changed (1)

     def _view_updated(self):
         pass #virtual
     
+    def has_view(self):
+        return (self._view is not None) and (not isinstance(self._view, NoopGUI))
+    
     @property
     def view(self):
         return self._view