prologic at shortcircuit.net.au
Wed Apr 21 07:25:27 EDT 2010
On Wed, Apr 21, 2010 at 8:45 PM, Rotwang <sg552 at 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
> 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...).
More information about the Python-list