(self, window)
de-register a window widget
de-register a window widget
de - register a window widget
def deregister_window(self, window):
        """de-register a window widget"""
        dbg('Terminator::deregister_window: de-registering %s:%s' %
                (id(window), type(window)))
        if window in self.windows:
            self.windows.remove(window)
        else:
            err('%s is not in registered window list' % window)

        if len(self.windows) == 0:
            # We have no windows left, we should exit
            dbg('no windows remain, quitting')
            Gtk.main_quit()
def deregister_window ( self , window ) : dbg ( 'Terminator::deregister_window: de-registering %s:%s' % ( id ( window ) , type ( window ) ) ) if window in self . windows : self . windows . remove ( window ) else : err ( '%s is not in registered window list' % window ) if len ( self . windows ) == 0 : # We have no windows left, we should exit dbg ( 'no windows remain, quitting' ) Gtk . main_quit ( )