[wxPython-users] A Puzzle with PySimpleApp
Christopher Barker
Chris.Barker at noaa.gov
Wed Oct 3 09:08:09 PDT 2007
Peck, Jon wrote:
> In order to minimize contention with the regular gui, we create
> wx.PySimpleApp objects and destroy them as soon as possible.
I'm pretty sure that wx does not support having more than one wxApp
instance in a program, even if you destroy one before creating the next.
It certainly doesn't support separate wxApps in separate threads.
What is your host app? is it a wxApp?
I think you'll need to figure out a way to create on wxApp instance for
the duration of your program, and have all the other code use it. (you
won't be able have gui stuff going on in different threads, either)
Could you use separate processes?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list