Package twisted :: Package internet :: Module gtkreactor
[show private | hide private]
[frames | no frames]

Module twisted.internet.gtkreactor

This module provides support for Twisted to interact with the PyGTK mainloop.

In order to use this support, simply do the following:
   |  from twisted.internet import gtkreactor
   |  gtkreactor.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
Classes
GtkReactor GTK+ event loop reactor.
PortableGtkReactor Reactor that works on Windows.

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
FakeModule gtk
builtin_function_or_method has_key
builtin_function_or_method has_key
FakeModule pygtk
dict reads
dict writes
NoneType _simtag

Function Details

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 Details

gtk

Type:
FakeModule
Value:
<Fake gtk>                                                             

has_key

has_key = __builtin__.dict.has_key
Type:
builtin_function_or_method
Value:
<built-in method has_key of dict object at 0x829099c>                  

has_key

has_key = __builtin__.dict.has_key
Type:
builtin_function_or_method
Value:
<built-in method has_key of dict object at 0x829090c>                  

pygtk

Type:
FakeModule
Value:
<Fake pygtk>                                                           

reads

Type:
dict
Value:
{<twisted.internet.default._UnixWaker instance at 0x815a27c>: 1}       

writes

Type:
dict
Value:
{}                                                                     

_simtag

Type:
NoneType
Value:
None                                                                   

Generated by Epydoc 1.1 on Fri Jun 27 03:48:09 2003 http://epydoc.sf.net