peng3d/gui/layered.py
def delete(self):
        """
        Deletes all layers within this LayeredWidget before deleting itself.
        
        Recommended to call if you are removing the widget, but not yet exiting the interpreter.
        """
        for layer,_ in self.layers:
            layer.delete()
        self.layers = []
        self._layers = {}
        super(LayeredWidget,self).delete()
def delete(self):
        """
        Deletes all layers within this LayeredWidget before deleting itself.
        
        Recommended to call if you are removing the widget, but not yet exiting the interpreter.
        """
        for layer,_ in self.layers:
            layer.delete()
        self.layers = []
        self._layers = {}
        super(LayeredWidget,self).delete()
def delete ( self ) : for layer , _ in self . layers : layer . delete ( ) self . layers = [ ] self . _layers = { } super ( LayeredWidget , self ) . delete ( )
Deletes all layers within this LayeredWidget before deleting itself.
        
        Recommended to call if you are removing the widget, but not yet exiting the interpreter.
Deletes all layers within this LayeredWidget before deleting itself . Recommended to call if you are removing the widget but not yet exiting the interpreter .