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

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<mailto:twisted@itamarst.org>
Classes
Gtk2Reactor GTK+-2 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 0x102f7a80>                 

has_key

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

pygtk

Type:
FakeModule
Value:
<Fake pygtk>                                                           

reads

Type:
dict
Value:
{<twisted.internet.default._UnixWaker instance at 0x101ea7a8>: 1,
 <twisted.internet.default._UnixWaker instance at 0x10923688>: None}   

writes

Type:
dict
Value:
{}                                                                     

_simtag

Type:
NoneType
Value:
None                                                                   

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:11 2003 http://epydoc.sf.net