code: def kill(self):
          '''
          Remove the class from its container, contained items and sub-widgets. 
          Runs automatically when the class is garbage collected.
          '''
          Base.kill(self)
          
          for c in self.containers:
              c.remove_internal(self)
          for w in self.widgets:
              w.remove_internal(selff kill(self):
          '''
          Remove the class from its container, contained items and sub-widgets. 
          Runs automatically when the class is garbage collected.
          '''
          Base.kill(self)
          
          for c in self.containers:
              c.remove_internal(self)
          for w in self.widgets:
              w.remove_internal(self)
docs: Remove the class from its container, contained items and sub-widgets. 
          Runs automatically when the class is garbage collected.