So just like the question says, I\'m trying to let keyboard interrupts happens while Gtk.main() is in progress, however, it just doesn\'t seem to notice that the keyboard in
The accepted answer would not work for me. I resolved it by replacing the Gtk.main() call with GLib.MainLoop().run(), as explained in the bug report.
Gtk.main()
GLib.MainLoop().run()