There's also a wxpython example in the twisted subversion repository. See:<br><br><a href="http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/wxdemo.py">http://twistedmatrix.com/trac/browser/trunk/doc/core/examples/wxdemo.py</a><br>
<br>It follows the basic pattern that Godson provided.<br><br>Kevin Horn<br><br><div class="gmail_quote">2009/8/28 ÌÕÒÕ·ò <span dir="ltr"><<a href="mailto:artman328@gmail.com">artman328@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks. I'll try it out.<br><br><div class="gmail_quote">2009/8/28 Godson Gera <span dir="ltr"><<a href="mailto:godson.g@gmail.com" target="_blank">godson.g@gmail.com</a>></span><div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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"><div><div></div><div>On Fri, Aug 28, 2009 at 11:05 AM, ÌÕÒÕ·ò <span dir="ltr"><<a href="mailto:artman328@gmail.com" target="_blank">artman328@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>
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></div></div>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">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><font color="#888888"><br><br clear="all"><br>-- <br>Thanks & Regards,<br>Godson Gera<br><a href="http://godson.in" target="_blank">http://godson.in</a><br>
</font><br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">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></div></div><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>