Class t.i.w.WxReactor(_threadedselect.ThreadedSelectReactor):

Part of twisted.internet.wxreactor View Source View In Hierarchy

wxPython reactor.

wxPython drives the event loop, select() runs in a thread.

Method registerWxApp Register wxApp instance with the reactor.
Method stop Stop the reactor.
Method run Start the reactor.
Method _installSignalHandlersAgain wx sometimes removes our own signal handlers, so re-add them.
Method _runInMainThread Schedule function to run in main wx/Twisted thread.
Method _stopWx Stop the wx event loop if it hasn't already been stopped.

Inherited from ThreadedSelectReactor:

Method __init__ Undocumented
Method wakeUp Undocumented
Method callLater Undocumented
Method ensureWorkerThread Undocumented
Method doThreadIteration Undocumented
Method interleave interleave(waker) interleaves this reactor with the
Method addReader Add a FileDescriptor for notification of data available to read.
Method addWriter Add a FileDescriptor for notification of data available to write.
Method removeReader Remove a Selectable for notification of data available to read.
Method removeWriter Remove a Selectable for notification of data available to write.
Method removeAll Remove all readers and writers.
Method getReaders Return the list of file descriptors currently monitored for input
Method getWriters Return the list file descriptors currently monitored for output events
Method mainLoop Undocumented
Method _sendToMain Undocumented
Method _sendToThread Undocumented
Method _preenDescriptorsInThread Undocumented
Method _workerInThread Undocumented
Method _doSelectInThread Run one iteration of the I/O monitor loop.
Method _process_Notify Undocumented
Method _process_Failure Undocumented
Method _interleave Undocumented
Method _mainLoopShutdown Undocumented
Method _doReadOrWrite Undocumented
def registerWxApp(self, wxapp): (source)
Register wxApp instance with the reactor.
def _installSignalHandlersAgain(self): (source)
wx sometimes removes our own signal handlers, so re-add them.
def stop(self): (source)
Stop the reactor.
def _runInMainThread(self, f): (source)
Schedule function to run in main wx/Twisted thread.

Called by the select() thread.

def _stopWx(self): (source)
Stop the wx event loop if it hasn't already been stopped.

Called during Twisted event loop shutdown.

def run(self, installSignalHandlers=True): (source)
Start the reactor.
API Documentation for Twisted, generated by pydoctor at 2009-11-24 22:07:21.