On Wed, Apr 21, 2010 at 8:45 PM, Rotwang <sg...@hotmail.co.uk> wrote: > def draw(self, w, h): > out = Tkinter.Canvas(width = w, height = h) > # a load of out.create_line(...)'s go here > out.pack() > out.mainloop() > > It works, but the problem is that I can't do anything else with IDLE until I > close the image window. Is there a way around this, so that I can leave the > image open while I continue to do other stuff?
From reading the documentation myself (pydoc)... It would seem your only option is to make a thread out of this (not my preferred way - I was hoping it was possible to poll the Tk event system...). cheers James -- http://mail.python.org/mailman/listinfo/python-list