Am Fre, den 23.04.2004 schrieb Johan Dahlin um 21:41: > > Why doesn't it exit if I hit Ctl-C? It just sits there. I have to hit > > Ctl-Z then kill %1. My glib_version is (2, 2, 2). I'm running on Solaris 9 > > should that make a difference. > > For gtk.main a special timeout handler is installed so python events > aren't starved. Basically the mainloops just take over the process and > the python interpretor can't get a change to process events (like > keyboard interrupts). > > So, use gtk.main() or file a bug against GMainLoop.main() > Maybe just installing a timeout handler, say every 100 ms could be > enough YMMV.
Or simply take a look at the FAQ: http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq20.003.htp _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/