[pygtk] Hideing window before closing
Rob Brown-Bayliss
uncertain.genius at gmail.com
Mon Jan 29 07:16:22 WST 2007
Hi, I have a main window that needs to do some cleaning up before the
app is closed.
So I have a function called buy the window destroy and other signals:
def close_down(self):
print "Shutting down Application..."
#if self.main_window.flags() & gtk.VISIBLE:
self.main_window.hide()
print "Shutting down inotify watchers..."
self.watcher.close_down() #free any inotify watchers
print "Cleaning up plugins..."
self.pluginmanager.close_down()
gtk.main_quit()
but when my app closes down the window remains visible untill all the
shutdown work has been done. Is this a new bug or is some thing else
going on?
--
Rob
More information about the pygtk
mailing list