Lior Kesos <[EMAIL PROTECTED]> writes: > It's hard for me to believe that the gtk folks haven't thought of solution for > this - maybe gtk handeling keyboard interrupts.
I'm not sure it's the role of an arbitary C based library to accomodate python's way of doing things. > Anyway I thought about a different approach - I understand that I can set > different key combinations as accelerators that do specific actions can't I > just map ctrl-c to do activate my gtk_main_quit() ? Sure you can. But the C-c has to be directed at your app, not the terminal it's running in. I run GTK in my own main loop, calling mainiteration(), which also solves this problem. -- Damien Elmes [EMAIL PROTECTED] _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
