[Tkinter-discuss] [Fwd: Re: Modify the Tab Order]
craf
prog at vtr.net
Fri Jan 7 17:29:08 CET 2011
Thanks, Andrei.!
Regards.
Cristian Abarzua F.
> De: Nemes Andrei <teh_sh_meister at yahoo.com>
> Para: craf <prog at vtr.net>
> Asunto: Re: [Tkinter-discuss] Modify the Tab Order
> Fecha: Thu, 6 Jan 2011 21:13:40 -0800 (PST)
>
> Oh, I forgot, you can still use the pack method too if you want ti. It
> just matters the order you create them in. Note that you don't have to
> pack them immediately after creation. I took the liberty of rearanging
> your code a bit.
>
>
> import Tkinter
> import ttk
>
>
> master = Tkinter.Tk()
>
>
> b2 = Tkinter.Button(master, text='Two')
> b1 = Tkinter.Button(master, text='One')
>
>
> b1.pack(side='right')
> b2.pack(side='right')
>
>
>
>
> master.mainloop()
>
>
> Andrei.
>
>
> ______________________________________________________________________
> From: craf <prog at vtr.net>
> To: Python Tkinter Ingles <tkinter-discuss at python.org>
> Sent: Fri, January 7, 2011 1:49:31 AM
> Subject: [Tkinter-discuss] Modify the Tab Order
>
> 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.
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>
>
More information about the Tkinter-discuss
mailing list