To stack events in Tkinter one should use the add='+' keyword (from here):
widget.bind("", callback1)
widget.bind("", callback2, add="+")
If you don't use the add='+' in the second call, then the first callback binding gets overwritten
Comments
Post a Comment