unable to bind keypress in tkinter
This appears to be a limitation of Tkinter on OSX. When you call master.overrideredirect(1)
, it seems to turn off the ability for tkinter to process keyboard events. If you omit the call to overrideredirect
your code will start to work.