示例#1
0
 def destroy(self, widget, data=None):
     logger.debug("destroy signal occurred")
     for backend in self.cfg.get_backends():
         backend.shutdown()
     gtk.main_quit()
示例#2
0
 def delete_event(self, widget, event, data=None):
     logger.debug("Delete event occurred")
     # Change FALSE to TRUE and the main window will not be destroyed
     return False