On Wed, May 15, 2019 at 10:23:25PM +0200, Michael Lange wrote: > ############################################# > frame .f -bg yellow -width 400 -height 300 > pack .f -fill both -expand 1 > > bind .f <Button-1> {puts "Button-1 event"} > bind .f <Enter> {puts "Enter event"} > bind .f <Leave> {puts "Leave event"} > ############################################# > > As expected, it's the same as with Tkinter, when the mouse button is > pressed, Enter and Leave events are triggered [...]
I ran this in straight Tcl/Tk on buster under fvwm and pressing the mouse button inside the yellow window only generates "Button-1 event", not the other two.