ajenti.plugins.dashboard.api¶
-
class
ajenti.plugins.dashboard.api.ConfigurableWidget(ui, typeid=None, children=[], **kwargs)[source]¶ Base class for widgets with a configuration dialog
-
on_config_start()[source]¶ Called when user begins to configure the widget. Should populate the config dialog.
-
-
class
ajenti.plugins.dashboard.api.DashboardWidget(ui, typeid=None, children=[], **kwargs)[source]¶ Base class for widgets (inherits
ajenti.ui.UIElement).-
config¶ current configuration dict of this widget instance
-
configurable¶
-
container¶
If True, user will not be able to add this widget through dashboard
-
icon= None¶ Widget icon name
-
index¶
-
name= '---'¶ Widget type name
-
typeid= 'dashboard:widget'¶
-