Double Click Mouse Event in Tkinter

scott_gui noemailspam at comcast.net
Fri Jan 6 22:36:19 CET 2006


Creating a Windows application:
<Double-Button-1> mouse event has a conflict when there is also a
binding to the <Button-1> event. It seems like a silly oversight that
performing a double click will also initiate the single click action.

Has anyone figured out a way to circumvent this problem? Right now I am
making the Double click function undo the action my Single click
function does, but this is very annoying, especially since the action
that is bound to the Single click flashes for a second.




More information about the Python-list mailing list