t.i.g.GIReactor(_glibbase.GlibReactorBase) : class documentation

Part of twisted.internet.gireactor View Source View In Hierarchy

Known subclasses: twisted.internet.gtk3reactor.Gtk3Reactor

GObject-introspection event loop reactor.

Method __init__ Undocumented
Method registerGApplication Register a Gio.Application or Gtk.Application, whose main loop will be used instead of the default one.
Instance Variable _gapplication A Gio.Application instance that was registered with registerGApplication.

Inherited from _PollLikeMixin (via GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.

Inherited from _PollLikeMixin (via GlibReactorBase):

Method _doReadOrWrite fd is available for read or write, do the work and raise errors if necessary.
_gapplication =
A Gio.Application instance that was registered with registerGApplication.
def __init__(self, useGtk=False): (source)
Undocumented
def registerGApplication(self, app): (source)

Register a Gio.Application or Gtk.Application, whose main loop will be used instead of the default one.

We will hold the application so it doesn't exit on its own. In versions of python-gi 3.2 and later, we exit the event loop using the app.quit method which overrides any holds. Older versions are not supported.

API Documentation for Twisted, generated by pydoctor at 2015-04-13 15:26:48.