On Thursday, February 9, 2012, Russell Adams <rlad...@adamsinfoserv.com> wrote: > On Thu, Feb 09, 2012 at 11:22:47AM +0100, Michael Lange wrote: >> Hi, >> >> ########## >> entry .e >> grid .e -column 0 -row 0 >> bind . <Alt-s> {puts "Alt-s pressed"} >> focus .e >> ######### >> >> If you store this as test.tcl and then run it with $ wish test.tcl , is it >> the same as in your Python example? > > Yes, Alt-s does not work. If I change it to Mod1, that triggers but > still adds "s" to the entry widget.
Just to reiterate so there's no confusion: the "s" being inserted is a feature, not a bug. I explained why in an earlier message and on stackoverflow. It has to do with the default ordering of bind tags.
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss