Re: [Twisted-Python] Twisted and wxPython

2009-11-05 Thread David Ripton
On 2009.11.05 18:14:57 +, Jon Mills wrote: > Can anybody point me towards a nice up-to-date example of the use of > Twisted with wxPython? > > I assume (hope) there's some way to bind the wx event loop into > Twisted's Reactor? Or do they need to run in separate > threads/processes? wx has mu

Re: [Twisted-Python] Twisted and wxPython

2009-11-05 Thread Jon Mills
Thanks Kevin, I often find it difficult to know which Twisted examples to follow. Googling around gives several different approaches to Twisted and wx integration - and the recommended solution seems to have evolved over time. I'll take a look at the example in your link. Thanks again On Thu, N

Re: [Twisted-Python] Twisted and wxPython

2009-11-05 Thread Kevin Horn
On Thu, Nov 5, 2009 at 12:14 PM, Jon Mills wrote: > Can anybody point me towards a nice up-to-date example of the use of > Twisted with wxPython? > > I assume (hope) there's some way to bind the wx event loop into > Twisted's Reactor? Or do they need to run in separate > threads/processes? > > Th

Re: [Twisted-Python] Twisted and wxPython

2009-08-28 Thread 陶艺夫
Thanks, it's absolutely a good sample. It's grateful that there are so many people helpful out there :) 2009/8/28 Kevin Horn > There's also a wxpython example in the twisted subversion repository. See: > > http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/wxdemo.py > > It follows th

Re: [Twisted-Python] Twisted and wxPython

2009-08-28 Thread Kevin Horn
There's also a wxpython example in the twisted subversion repository. See: http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/wxdemo.py It follows the basic pattern that Godson provided. Kevin Horn 2009/8/28 陶艺夫 > Thanks. I'll try it out. > > 2009/8/28 Godson Gera > > from twiste

Re: [Twisted-Python] Twisted and wxPython

2009-08-28 Thread 陶艺夫
Thanks. I'll try it out. 2009/8/28 Godson Gera > from twisted.internet import wxreactor > wxreactor.install() > from twisted.internet import reactor > > > . > write your code here > . > > reactor.registerWxApp(app) > reactor.run() > > > You don't need wx mainloop. The key thing here is t

Re: [Twisted-Python] Twisted and wxPython

2009-08-27 Thread Godson Gera
from twisted.internet import wxreactor wxreactor.install() from twisted.internet import reactor . write your code here . reactor.registerWxApp(app) reactor.run() You don't need wx mainloop. The key thing here is to import wxreactor first and install it and then import reactor. 'app' in

[Twisted-Python] Twisted and wxPython

2009-08-27 Thread 陶艺夫
Hi, Anyone can give me a sample app skeleton to get two frameworks work together well? Or just give me a link where I can figure out the technical details. Thanks. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/