On Tue, 17 Sep 2013 02:22:02 +0545 rhoit <the.n...@gmail.com> wrote: > thanx Micheal! yeah i shouldn't have use "list" as var name! (did it in > hurry) https://gist.github.com/rhoit/6583664 updated now! > the <Alt-[1..5]> key binding doesn't work in Xfce, mswinxp( in vbox), > so thinking it might not be the issue created by wm. > thanx to Bhaskar! again!
I am not sure about that, I tried Gnome3, Xfce4, Lxde and IceWm, which seem to behave slightly differently. In Icewm neither <Alt-1> nor <Alt-KeyPress-1> work unless I remove the binding from the Icewm configuration. If I do so only the latter works. In Gnome3 and Xfce <Alt-1> does not work but <Alt-KeyPress-1> does, whereas <Alt-9> works. So at least this shows that you cannot rely on <Alt-KeyPress-1> and friends to work. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. A man either lives life as it happens to him, meets it head-on and licks it, or he turns his back on it and starts to wither away. -- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org https://mail.python.org/mailman/listinfo/tkinter-discuss