Re: Tkinter app structure

2005-06-13 Thread Christopher Subich
Richard Lewis wrote: > Hi there, > > I've just started my first project with Tkinter. > This set up should allow me to be able to access main.data and main.root > from the commands.py module and the command callback functions (defined > in commands.py) from mainwindow.py. <...> > Whats going wrong

Re: Tkinter app structure

2005-06-13 Thread Richard Lewis
On Mon, 13 Jun 2005 16:45:11 +0100, "Richard Lewis" <[EMAIL PROTECTED]> said: > > Whats going wrong? Is it a 'circular import'? Is there a better way that > I could organise these modules? > I've got a hack which I'm not happy with: I've got rid of the main.py module and put its code into the s

Tkinter app structure

2005-06-13 Thread Richard Lewis
Hi there, I've just started my first project with Tkinter. I've already coded all the data handling classes and have a nice interface to work with (it happens to be a wrapper around the DOM of a large(ish) XML document but thats probably not important ;-) I'm new to Tkinter so I've started in a