Tkinter keybindings
Antonio Cuni
cuniREMOVE_THIS at programmazione.it
Thu Jan 9 10:13:47 EST 2003
thanks to all, you have been useful!
Finally I solved my problem with this code:
txt = Text(root)
txt.bind('<Tab>', move_focus)
where move_focus is a function setting the focus on the next widget and
returning "break": that return value stops Tk from calling the remaining
callbacks, so the focus is moved without inserting any "tab" character.
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