twisted.internet.gtkreactor.PortableGtkReactor(selectreactor.SelectReactor) class documentationtwisted.internet.gtkreactor
View Source
(View In Hierarchy)
Reactor that works on Windows.
input_add is not supported on GTK+ for Win32, apparently.
| Method | crash | See twisted.internet.interfaces.IReactorCore.crash. |
| Method | run | Fire 'startup' System Events, move the reactor to the 'running' state,
then run the main loop until it is stopped with stop() or
crash(). |
| Method | simulate | Run simulation loops and reschedule callbacks. |
| Instance Variable | _simtag | A gtk timeout handle for the next simulate
call. |
Inherited from _ThreadedWin32EventsMixin (via SelectReactor):
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactor
running in the other thread. This is None until it is
actually needed. |
| Instance Variable | _reactorThread | The threading.Thread
which is running the Win32Reactor.
This is None until it is actually needed. |
| Method | _unmakeHelperReactor | Stop and discard the reactor started by
_makeHelperReactor. |
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events. |
Inherited from _ThreadedWin32EventsMixin (via SelectReactor):
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactor
running in the other thread. This is None until it is
actually needed. |
| Instance Variable | _reactorThread | The threading.Thread
which is running the Win32Reactor.
This is None until it is actually needed. |
| Method | _unmakeHelperReactor | Stop and discard the reactor started by
_makeHelperReactor. |
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events. |
Inherited from _ThreadedWin32EventsMixin (via SelectReactor):
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactor
running in the other thread. This is None until it is
actually needed. |
| Instance Variable | _reactorThread | The threading.Thread
which is running the Win32Reactor.
This is None until it is actually needed. |
| Method | _unmakeHelperReactor | Stop and discard the reactor started by
_makeHelperReactor. |
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events. |
Inherited from _ThreadedWin32EventsMixin (via SelectReactor):
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactor
running in the other thread. This is None until it is
actually needed. |
| Instance Variable | _reactorThread | The threading.Thread
which is running the Win32Reactor.
This is None until it is actually needed. |
| Method | _unmakeHelperReactor | Stop and discard the reactor started by
_makeHelperReactor. |
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events. |
Inherited from _ThreadedWin32EventsMixin (via SelectReactor):
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactor
running in the other thread. This is None until it is
actually needed. |
| Instance Variable | _reactorThread | The threading.Thread
which is running the Win32Reactor.
This is None until it is actually needed. |
| Method | _unmakeHelperReactor | Stop and discard the reactor started by
_makeHelperReactor. |
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events. |
Inherited from _ThreadedWin32EventsMixin (via SelectReactor):
| Method | addEvent | |
| Method | removeEvent | |
| Instance Variable | _reactor | The Win32Reactor
running in the other thread. This is None until it is
actually needed. |
| Instance Variable | _reactorThread | The threading.Thread
which is running the Win32Reactor.
This is None until it is actually needed. |
| Method | _unmakeHelperReactor | Stop and discard the reactor started by
_makeHelperReactor. |
| Method | _makeHelperReactor | Create and (in a new thread) start a Win32Reactor
instance to use for the implementation of IReactorWin32Events. |
See twisted.internet.interfaces.IReactorCore.crash.
Reset reactor state tracking attributes and re-initialize certain
state-transition helpers which were set up in __init__ but
later destroyed (through use).
Fire 'startup' System Events, move the reactor to the 'running' state,
then run the main loop until it is stopped with stop() or
crash().