[Twisted-Python] Twisted with wxPython in a thread

Gabriel Rossetti gabriel.rossetti at arimaz.com
Tue Aug 24 07:19:06 MDT 2010


On 08/24/2010 02:11 PM, Itamar Turner-Trauring wrote:
> 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?
>
>    
Thanks for the reply, I'm going to try some other things before I make a 
minimal example, keep you up to date, thanks




More information about the Twisted-Python mailing list