[Tkinter-discuss] Tkinter grid manipulation question

Fredrik Lundh fredrik at pythonware.com
Sun Nov 19 12:43:39 CET 2006


Pekka Niiranen wrote:

> How can I change its behaviour so that when I hit Enter on current cell
> the cursor moves automatically to cell below it?
> 
> (I should bind the Enter -button and call <some method>
> to adjust current cell location)

call focus_set() on the widget that should get focus:

http://effbot.org/tkinterbook/widget.htm#Tkinter.Widget.focus_set-method

</F>



More information about the Tkinter-discuss mailing list