[wxPython-users] pubsub from threads

Frank Aune Frank.Aune at broadpark.no
Tue Jan 15 00:55:59 PST 2008


On Monday 14 January 2008 23:41:23 Michael Moriarity wrote:
> Hello Frank:
> I have had success by using:
>
> wx.CallAfter(Publisher.sendMessage,
>                         topic='SomeTopic',
>                         data=SomeData)


But won't this contradict the entire point of pubsub, since you want to keep 
your model separated from wx?

I've tried calling wx.CallAfter on the function performing the GUI update, but 
still the GUI will randomly hang.

Cheers,
Frank




More information about the wxpython-users mailing list