Web lists-archives.com

Re: Strange event handling problem with Xfce/LXDE - which pkg responsible?




Hi,

thanks for the feedback.

[...]

#############################################
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 [...]

No Enter or Leave on <Button-1> in my case -- but when entering or
leaving the window (as it is supposed to work). Tcl/Tk from Debian
stable, i.e. 8.6.0+9). No desktop environment, though -- just Fvwm.

Cheers
-- tomás