[Twisted-Python] Twisted with wxPython in a thread

Itamar Turner-Trauring itamar at itamarst.org
Tue Aug 24 08:11:33 EDT 2010


On Tue, 2010-08-24 at 11:40 +0200, Gabriel Rossetti wrote:
> Hello,
> 
> I can't find any examples of using Twisted with wxPython, were wx is in 
> a seperate thread. I used to have one somewhere but can' t find it 
> either. I'm looking because for some reason my code doesn't work (the 
> GUI freezes), even though I use reactor.callFromThread() for Twisted 
> calls from wx and wx.CallAfter() for wx calls from Twisted. Can anyone 
> point me to an example?

I would expect that to work (assuming wx.CallAfter works). Can you post
a minimal example of your code that demonstrates a freezing GUI?





More information about the Twisted-Python mailing list