Module twisted.internet.gtk2reactor
This module provides support for Twisted to interact with the PyGTK2
mainloop.
In order to use this support, simply do the following:
| from twisted.internet import gtk2reactor
| gtk2reactor.install()
Then use twisted.internet APIs as usual. The other methods here are
not intended to be called directly.
API Stability: stable
Maintainer: Itamar
Shtull-Trauring
Function Summary |
|
install ()
Configure the twisted mainloop to be run inside the gtk mainloop. |
|
portableInstall ()
Configure the twisted mainloop to be run inside the gtk mainloop. |
Variable Summary |
NoneType |
_simtag = None |
builtin_function_or_method |
hasReader = __builtin__.dict.has_key |
builtin_function_or_method |
hasWriter = __builtin__.dict.has_key |
NoneType |
INFLAGS = None |
NoneType |
OUTFLAGS = None |
NoneType |
POLL_DISCONNECTED = None |
dict |
reads = {<twisted.internet.default._UnixWaker instance a...
|
dict |
writes = {}
|
install()
Configure the twisted mainloop to be run inside the gtk
mainloop.
-
|
portableInstall()
Configure the twisted mainloop to be run inside the gtk
mainloop.
-
|
_simtag
-
- Type:
-
NoneType
- Value:
|
INFLAGS
-
- Type:
-
NoneType
- Value:
|
OUTFLAGS
-
- Type:
-
NoneType
- Value:
|
POLL_DISCONNECTED
-
- Type:
-
NoneType
- Value:
|
reads
-
- Type:
-
dict
- Value:
{<twisted.internet.default._UnixWaker instance at 0x81f2c3c>: 1}
|
|