Documentation for the module cream¶
- class cream.Module(module_id, *args, **kwargs)¶
This is the baseclass for every Cream module. It bundles features you would need within your application or service, such as:
- an GObject mainloop,
- logging capabilities,
- and meta data handling.
- main(enable_threads=True)¶
Run a GObject-mainloop.
Parameters: enable_threads (bool) – Whether to enable GObjects threading capabilities. This can have negative impact on some applications. Please use with care!
- quit()¶
Quit the mainloop and exit the application.