Plugin
-
class pluginsystem.Plugin(app, gui, dirname)
Basisklasse für Plugins
-
Name
- Name des Plugins
-
configurate(dialog)
- Diese Methode wird aufgerufen, wenn der Benutzer das Plugin konfigurieren möchte.
Alter the dialog.vbox property and return the dialog. The plugin system will do the rest.
Remember to connect to the ‘changed’ signals of the widgets you placed in the dialog.
Use the signals to update your Config dict.
Note: Set CONFIGURABLE to True.
-
disable()
- Diese Methode wird aufgerufen, wenn das Plugin deaktiviert wird.
Es sollte alle in enable gemachten Änderungen rückgängig gemacht werden.
-
enable()
- Diese Methode wird aufgerufen, wenn das Plugin aktiviert wird.
-
get_path(file=None)