[Tkinter-discuss] bind <Alt-[1..5]> not working

Michael Lange klappnase at web.de
Tue Sep 17 11:14:13 CEST 2013


On Tue, 17 Sep 2013 02:22:02 +0545
rhoit <the.nube at 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


More information about the Tkinter-discuss mailing list