[Twisted-Python] Twisted and wxPython

陶艺夫 artman328 at gmail.com
Fri Aug 28 01:04:22 MDT 2009


Thanks. I'll try it out.

2009/8/28 Godson Gera <godson.g at gmail.com>

> 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 the last but one line is
> the instance of your wx.App .
>
>
> On Fri, Aug 28, 2009 at 11:05 AM, 陶艺夫 <artman328 at gmail.com> wrote:
>
>> 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 at twistedmatrix.com
>> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>>
>>
>
>
> --
> Thanks & Regards,
> Godson Gera
> http://godson.in
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20090828/8f9170e1/attachment.html>


More information about the Twisted-Python mailing list