Re: Tkinter grid layout

2005-07-07 Thread Christopher Subich
Eric Brunel wrote: > So you should either make your MainWindow class inherit from Tk, which > eliminates the unneeded container and the problems it may cause, or make > sure the pack or grid on your MainWindow instance actually tells the > container to grow with its container. With pack, it's q

Re: Tkinter grid layout

2005-07-07 Thread Eric Brunel
On Wed, 06 Jul 2005 16:32:42 GMT, William Gill <[EMAIL PROTECTED]> wrote: > Excuse me for intruding, but I followed examples and ended up with a > similar architecture: > > from Tkinter import * > class MyMain(Frame): > def __init__(self, master): > self.root = mast

Re: Tkinter grid layout

2005-07-06 Thread Richard Lewis
On Wed, 06 Jul 2005 16:32:42 GMT, "William Gill" <[EMAIL PROTECTED]> said: > Excuse me for intruding, but I followed examples and ended up with a > similar architecture: > > from Tkinter import * > class MyMain(Frame): > def __init__(self, master): > self.root = m

Re: Tkinter grid layout

2005-07-06 Thread William Gill
Excuse me for intruding, but I followed examples and ended up with a similar architecture: from Tkinter import * class MyMain(Frame): def __init__(self, master): self.root = master self.master=master root = Tk() app = MyMain(root) app.ma

Re: Tkinter grid layout

2005-07-06 Thread Richard Lewis
On Wed, 06 Jul 2005 17:36:01 +0200, "Eric Brunel" <[EMAIL PROTECTED]> said: > On Wed, 06 Jul 2005 11:44:55 +0100, Richard Lewis > <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > I've got a tree control in Tkinter (using the ESRF Tree module) but I > > can't get it to layout how I want it. > >

Re: Tkinter grid layout

2005-07-06 Thread Eric Brunel
On Wed, 06 Jul 2005 11:44:55 +0100, Richard Lewis <[EMAIL PROTECTED]> wrote: > Hi there, > > I've got a tree control in Tkinter (using the ESRF Tree module) but I > can't get it to layout how I want it. > > I'd like to have it so that it streches north/south (anchored to the top > and bottom), is

Re: Tkinter grid layout

2005-07-06 Thread Richard Lewis
On Wed, 06 Jul 2005 11:44:55 +0100, "Richard Lewis" <[EMAIL PROTECTED]> said: > Hi there, > > I've got a tree control in Tkinter (using the ESRF Tree module) but I > can't get it to layout how I want it. > > I'd like to have it so that it streches north/south (anchored to the top > and bottom),