I’m writing a wxPython application that will be doing quite a bit of data analysis and display. The way I’ve written it so far has led to problems when two threads try to change
Just post wx.Event
s to some object (typically the application or the main window). They will be processed in FIFO order, although they will be intermixed with the other GUI events happening on the main thread itself. Of course, you also need to have actual handlers for these events implementing whatever logic you need.