module documentation
(source)

This module provides base support for Twisted to interact with the glib/gtk mainloops.

The classes in this module should not be used directly, but rather you should import gireactor or gtk3reactor for GObject Introspection based applications, or glib2reactor or gtk2reactor for applications using legacy static bindings.

Function ensureNotImported Check whether the given modules were imported, and if requested, ensure they will not be importable in the future.
Class GlibWaker Run scheduled events after waking up.
Class GlibReactorBase Base class for GObject event loop reactors.
Class PortableGlibReactorBase Base class for GObject event loop reactors that works on Windows.
def ensureNotImported(moduleNames, errorMessage, preventImports=[]): (source)

Check whether the given modules were imported, and if requested, ensure they will not be importable in the future.

ParametersmoduleNamesA list of module names we make sure aren't imported. (type: list of str)
errorMessageMessage to use when raising an ImportError. (type: str)
preventImportsA list of module name whose future imports should be prevented. (type: list of str)
RaisesImportErrorwith given error message if a given module name has already been imported.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.