On Sun, May 29, 2005 at 09:11:34PM +0200, Calle Erlandsson wrote: > But this create a new problem: When I've closed all the windows the app > is still running because I haven't run the gtk.main_quit(). > How do I solve this problem?
The function gtk.window_list_toplevels() may be helpful here. Just check after destroying a window for how many are left. Dave Cook _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/