Thanks, Andrei.!

Regards.

Cristian Abarzua F.

> De: Nemes Andrei <teh_sh_meis...@yahoo.com>
> Para: craf <p...@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 <p...@vtr.net>
> To: Python Tkinter Ingles <tkinter-discuss@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@python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
> 
> 
> 


_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to