[wxPython-users] Modal window

Leeuw van der, Tim tim.leeuwvander at nl.unisys.com
Wed Jul 5 05:15:01 PDT 2006


>
>
> -----Original Message-----
> From: Simon Clay [mailto:simon.clay at imperial.ac.uk] 
> Sent: woensdag 5 juli 2006 14:12
> To: wxPython-users at lists.wxwidgets.org
> Subject: Re: [wxPython-users] Modal window
>
> On Wed, Jul 05, 2006 at 10:53:30AM +0200, Thomas wrote:
> > Hello Simon!
> > 
> > I tested it and it works great for the purpose I need. Very
interesting 
> > idea!
> > 
> > Nevertheless I will use Robin's proposal, it's much more simple to
> handle.
>
> Indeed.  They always are.  :)
>
>	Simon.
>

Yeah, but I needed to do something very similar, except I wanted to show
updates on the screen while doing my work... So I figured that I'd need
an extra thread, one for doing my work and another thread for the GUI
updates; so I copied your code into my project -- Thanks a lot for the
sample!

(I made some modifications; the thread is started from an extra method
instead of __init__ and I don't instantly call 'EndModal' but instead
enable a button)

Cheers,

--Tim




More information about the wxpython-users mailing list