def closeterm(self, widget): """Handle a terminal closing""" Container.closeterm(self, widget) self.hoover()