Table of Contents

Module: ingtkernet | Twisted-0.17.4/twisted/internet/ingtkernet.py
--- | ---

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 ingtkernet
        |  ingtkernet.install()

Then use twisted.internet APIs as usual. The other methods here are not intended to be called directly.

Imported modules |
--- | ---
import gtk import main import sys from twisted.python import log
Functions |
addReader addWriter callback install removeReader removeWriter simulate
| addReader

    addReader ( reader )

| addWriter

    addWriter ( writer )

| callback

    callback ( source,  condition )

| install

    install ()

Configure the twisted mainloop to be run inside the gtk mainloop.

| removeReader

    removeReader ( reader )

| removeWriter

    removeWriter ( writer )

| simulate

    simulate ()

Run simulation loops and reschedule callbacks.

Table of Contents

This document was automatically generated on Sat Apr 20 01:30:49 2002 by HappyDoc version 2.0