[wxPython-users] using wxpython with non-GUI applications

Aaron Brady castironpi at comcast.net
Wed Jan 9 13:53:43 PST 2008


> -----Original Message-----
> From: Chris Barker [mailto:Chris.Barker at noaa.gov]
> Sent: Wednesday, January 09, 2008 3:27 PM
> - you can do a simple procedural wx app my initializing a wx.App, then
> bringing up modal dialogs sequentially (modal dialogs have their own
> event loop). You can bring up custom dialogs that have just about
> anything in them. See the enclosed sample.

Could you do multiple PyApp objects()?

app1= wx.pySimpleApp()
app2= wx.pySimpleApp()

app1.MainLoop()
#stuff
app2.MainLoop()

May be more app-appropriate than threads.




More information about the wxpython-users mailing list