[Tkinter-discuss] Modify the Tab Order

craf prog at vtr.net
Fri Jan 7 02:49:31 CET 2011


Hi.

I wonder if you can change the tab order, first, pass the button 'two'
and then the button 'one', without changing the pack of buttons.

CODE:--------------------------------------

import Tkinter
import ttk

master = Tkinter.Tk()

b1 = Tkinter.Button(master, text='One')
b1.pack(side='right')

b2 = Tkinter.Button(master, text='Two')
b2.pack(side='right')


master.mainloop()
---------------------------------------------

It's posibble this?.

Regards

Cristian Abarzua.



More information about the Tkinter-discuss mailing list