Re: What does self.grid() do?

2009-03-10 Thread chuck
On Mar 5, 3:03 am, Marc 'BlackJack' Rintsch wrote: > On Wed, 04 Mar 2009 09:04:50 -0800, chuck wrote: > > On Mar 3, 10:40 pm, Marc 'BlackJack' Rintsch wrote: > >> On Tue, 03 Mar 2009 18:06:56 -0800, chuck wrote: > >> > I am learning python right now.  In the lesson on tkinter I see this > >> > pi

Re: What does self.grid() do?

2009-03-04 Thread Marc 'BlackJack' Rintsch
On Wed, 04 Mar 2009 09:04:50 -0800, chuck wrote: > On Mar 3, 10:40 pm, Marc 'BlackJack' Rintsch wrote: >> On Tue, 03 Mar 2009 18:06:56 -0800, chuck wrote: >> > I am learning python right now.  In the lesson on tkinter I see this >> > piece of code >> >> > from Tkinter import * >> >> > class MyFra

Re: What does self.grid() do?

2009-03-04 Thread r
PS: Check here http://effbot.org/tkinterbook/ There are three geometry managers "pack", "place", and "grid". Be sure to learn the pros and cons of all three. -- http://mail.python.org/mailman/listinfo/python-list

Re: What does self.grid() do?

2009-03-04 Thread r
> What exactly is meant by "widgets that layout themselves"- what is the > right way to do this? He means you can't control it at creation time, you would have to call w.pack_configure() if you did not like the default options. There are times however when you DO want a widget to pack itself.. fr

Re: What does self.grid() do?

2009-03-04 Thread chuck
On Mar 3, 10:40 pm, Marc 'BlackJack' Rintsch wrote: > On Tue, 03 Mar 2009 18:06:56 -0800, chuck wrote: > > I am learning python right now.  In the lesson on tkinter I see this > > piece of code > > > from Tkinter import * > > > class MyFrame(Frame): > >    def __init__(self): > >        Frame.__in

Re: What does self.grid() do?

2009-03-03 Thread Marc 'BlackJack' Rintsch
On Tue, 03 Mar 2009 18:06:56 -0800, chuck wrote: > I am learning python right now. In the lesson on tkinter I see this > piece of code > > from Tkinter import * > > class MyFrame(Frame): >def __init__(self): >Frame.__init__(self) >self.grid() > > My question is what does "s