Multiple Key Event Bindings in Tkinter - “Control + E” “Command (apple) + E” etc

后端 未结 4 1203
鱼传尺愫
鱼传尺愫 2020-12-20 13:22

Mac OS X 10.6.6 - Tkinter

I want to bind multiple-key events, and while I have found an effbot article and the Tk man pages, I\'ve been unable to make this work corr

4条回答
  •  清酒与你
    2020-12-20 13:49

    This appears to be a bug in Tk. I get the same error with tcl/tk on the mac as well as with python/tkinter. You can bind to a widget (I tried with a text widget) but binding it to the root window or to "all" seems to cause the error you get.

提交回复
热议问题