Ejemplo n.º 1
0
 def destroy(self):
     oregistry.remove_receiver('misc-message', self._misc_message)
     self.screen.signal_unconnect(self)
     self.screen.destroy()
     del self.screen
     del self.glade
     del self.widget
     self.sw.destroy()
     del self.sw
     gc.collect()
Ejemplo n.º 2
0
 def destroy(self):
     """
         Destroy the page object and all the child
         (or at least should do this)
     """
     oregistry.remove_receiver('misc-message', self._misc_message)
     self.screen.signal_unconnect(self)
     self.screen.destroy()
     self.widget.destroy()
     self.sw.destroy()
     del self.screen
     del self.handlers
Ejemplo n.º 3
0
    def destroy(self):

        """
            Destroy the page object and all the child
            (or at least should do this)
        """
        oregistry.remove_receiver('misc-message', self._misc_message)
        self.screen.signal_unconnect(self)
        self.screen.destroy()
        self.widget.destroy()
        self.sw.destroy()
        del self.screen
        del self.handlers