[Twisted-Python] using gtk without threads and pb

Kim Novak kim at trdlnk.com
Tue Mar 21 12:21:21 EST 2006

I haven't heard a response on this. Can anyone answer?

Kim Novak wrote:
> I am new to twisted and am trying to figure out if I can use it with 
> gtk but without threads.
> I need this because of an old library I'm using that doesn't work with 
> gtk threads. Since I have to run single threaded the async xml rpc 
> offered by Twisted is ideal for my application to work well.
> To test this I tweaked the example pbgtk2.py to disable threads as 
> recommended here:
> http://twistedmatrix.com/trac/ticket/1083
> The tweaked version is attached. I start pbecho.py and run my 
> pbgtk2.py. When I click connect it eventually times out. Without my 
> tweaks it connects immediately.
> Does anyone know if this is supposed to be possible? If so, what I am 
> I doing wrong?
> I am using python v2.3 and pygtk v2.6.
> Thanks
> Kim
> ------------------------------------------------------------------------
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list