Tkinter keybindings

v.wehren v.wehren at home.nl
Tue Jan 7 17:22:47 EST 2003


http://www.nmt.edu/tcc/help/pubs/tkinter.pdf is your friend...

Chapter 21. Focus: routing keyboard input:

"Because Text widgets can contain tab characters, you must use the special
key
sequence CONTROL-TAB to move focus past the widget" -

Vincent Wehren



to move the focus past a text widget.
"Antonio Cuni" <cuniREMOVE_THIS at programmazione.it> schrieb im Newsbeitrag
news:3n6cva.n64.ln at anto.cuni.lan...
> Probably this is a simple problem, but I don't know how to solve it;
> I have a simple Tkinter window containing some Entry'es and a Text
> widget.
> When the focus is on an Entry pressing <TAB> moves the focus on the next
> widget, and this is fine. But when the Text is focused a <TAB> inserts a
> tabulation into the widget, without moving the focus: how can I simulate
> the usual behaviour?
> I tried to play with bind, but without any noticeable results :-(
>
> thanks in advance
>
> ciao Anto
> --
> "Computer science is not about computers any more than astronomy
> is about telescopes." -- EW Dijkstra






More information about the Python-list mailing list