Module twisted.internet.tksupport
This module integrates Tkinter with twisted.internet's mainloop.
API Stability: semi-stable
Maintainer: Itamar
Shtull-Trauring
To use, do:
| tksupport.install(rootWidget)
and then run your reactor as usual - do *not* call Tk's mainloop(),
use Twisted's regular mechanism for running the event loop.
Likewise, to stop your program you will need to stop Twisted's event
loop. For example, if you want closing your root widget to stop
Twisted:
| root.protocol('WM_DELETE_WINDOW', reactor.stop)
Function Summary |
|
_guiUpdate(reactor,
widget,
delay)
|
|
getPassword(prompt,
confirm)
|
|
install (widget,
ms,
reactor)
Install a Tkinter.Tk() object into the reactor. |
|
installTkFunctions()
|
install(widget,
ms=10,
reactor=None)
Install a Tkinter.Tk() object into the reactor.
-
|