The core Manager class is the base class of all components in circuits. It is what defines the API(s) of all components and necessary machinery to run your application smoothly.
Note
It is not recommended to actually use the Manager in your application code unless you know what you’re doing.
Warning
A Manager does not know how to register itself to other components! It is a manager, not a component, however it does form the basis of every component.
Using the Manager in your application is not really recommended except in some special circumstances where you want to have a top-level object that you can register things to.
Example:
1 2 3 4 5 6 7 8 9 10 | from circuits import Component, Manager
class App(Component):
"""Your Application"""
manager = Manager()
App().register(manager)
manager.run()
|