from twisted.internet import wxreactor<br>wxreactor.install()<br>from twisted.internet import reactor<br><br><br>.....<br>write your code here <br>.....<br><br>reactor.registerWxApp(app)<br>reactor.run()<br><br><br>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 . <br>
<br><br><div class="gmail_quote">On Fri, Aug 28, 2009 at 11:05 AM, 陶艺夫 <span dir="ltr"><<a href="mailto:artman328@gmail.com">artman328@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>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.<br><br>Thanks. <br>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thanks & Regards,<br>Godson Gera<br><a href="http://godson.in">http://godson.in</a><br>