keyboard interrupt with with python gtk?

后端 未结 3 1703
孤城傲影
孤城傲影 2020-12-28 15:54

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

3条回答
  •  感动是毒
    2020-12-28 16:23

    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.

提交回复
热议问题