disable tkinter keyboard shortcut (2)
问题 I'm proposing a continuation of the discussion in disable tkinter keyboard shortcut: I have an event handler for an event that Tkinter also uses, so that my prog & Tkinter interact badly. Since it is a problem that I've been unable to solve I'm re-proposing here, where I tried to boil it down to the simplest form in the following code: #!/usr/bin/env python from Tkinter import * import tkFont def init(): global root,text root = Tk() root.geometry("500x500+0+0") dFont=tkFont.Font(family="Arial