Tkinter: Distinguishing different
fredrik at pythonware.com
Wed Jan 1 19:02:10 CET 2003
Tim Daneliuk wrote:
> I have an existing program that binds a feature to:
> I now want to add a new feature which binds to:
> The problem is that the handler for the second is always called even
> when I am pressing the key combination for the first. Obviously, the
> "ButtonRelease-2" is checked by the message dispatcher before the
> Control ... combination is checked.
Not really -- when the *first* click arrives, the dispatcher doesn't know
that another click will arrive some time in the future.
I suggest adding a dummy Control-ButtonRelease3 binding.
More information about the Python-list