[Tkinter-discuss] Tkinter and Alt bindings
Bryan Oakley
bryan.oakley at gmail.com
Thu Feb 9 21:49:44 CET 2012
On Feb 9, 2012, at 2:04 PM, Michael Lange <klappnase at web.de> wrote:
>
> The default bindings are defined in entry.tcl, the relevant part looks
> like:
>
> # Ignore all Alt, Meta, and Control keypresses unless explicitly bound.
> # Otherwise, if a widget binding for one of these is defined, the
> # <KeyPress> class binding will also fire and insert the character,
> # which is wrong. Ditto for Escape, Return, and Tab.
>
> bind Entry <Alt-KeyPress> {# nothing}
Well, that's interesting. I rarely use alt bindings and didn't know it had that behavior. Thanks for the clarification.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20120209/99f4efcc/attachment.html>
More information about the Tkinter-discuss
mailing list