def destroy(self):
     """Destroy this Container and all of its contents."""
     contents = self._contents
     while contents:
         comp = contents[-1]
         comp.destroy()
         assert not contents or contents[-1] is not comp, \
             "%r failed to remove itself from container on destruction" % comp
     Component.destroy(self)
Ejemplo n.º 2
0
 def destroy(self):
     """Destroy this Container and all of its contents."""
     contents = self._contents
     while contents:
         comp = contents[-1]
         comp.destroy()
         assert not contents or contents[-1] is not comp, \
             "%r failed to remove itself from container on destruction" % comp
     Component.destroy(self)
Ejemplo n.º 3
0
 def destroy(self):
     ViewBase.destroy(self)
     Component.destroy(self)
Ejemplo n.º 4
0
 def destroy(self):
     ViewBase.destroy(self)
     Component.destroy(self)