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
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
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
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
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
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
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
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/