twisted.internet.gireactor.GIReactor(_glibbase.GlibReactorBase)
class documentationtwisted.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. |
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.