Package twisted :: Package internet :: Module wxreactor
[frames | no frames]

Module twisted.internet.wxreactor

This module provides support for Twisted to interact with the wxPython.

In order to use this support, simply do the following:
   |  from twisted.internet import wxreactor
   |  wxreactor.install()
Then, when your root wxApp has been created:
   | from twisted.internet import reactor
   | reactor.registerWxApp(yourApp)
   | reactor.run()

Then use twisted.internet APIs as usual. Stop the event loop using reactor.stop().

IMPORTANT: tests will fail when run under this reactor. This is expected and does not reflect on the reactor's ability to run real applications, I think. Talk to me if you have questions. -- itamar

API Stability: unstable

Maintainer: Itamar Shtull-Trauring
Generated by Epydoc 2.0 on Sat May 15 20:08:55 2004 http://epydoc.sf.net