pycrossword
0.3
Pure-Python implementation of a crossword puzzle generator and editor
|
Base class for category-specific user plugins (extensions) written in Python. More...
Public Member Functions | |
def | __init__ (self, plugin_manager) |
Constructor initializes a pointer to the PxPluginManager object. More... | |
def | activate (self) |
Called at plugin activation. More... | |
def | deactivate (self) |
Called the plugin is disabled. More... | |
def | test (self) |
Testing method: prints the plugin's class name by default. More... | |
Public Attributes | |
plugin_manager | |
Base class for category-specific user plugins (extensions) written in Python.
This class must not be subclassed directly; instead, inherit from PxPluginGeneral
declared below. A plugin must consist of two items in the 'plugins' directory:
def pycross.utils.pluginbase.PxPluginBase.__init__ | ( | self, | |
plugin_manager | |||
) |
Constructor initializes a pointer to the PxPluginManager object.
def pycross.utils.pluginbase.PxPluginBase.activate | ( | self | ) |
Called at plugin activation.
def pycross.utils.pluginbase.PxPluginBase.deactivate | ( | self | ) |
Called the plugin is disabled.
def pycross.utils.pluginbase.PxPluginBase.test | ( | self | ) |
Testing method: prints the plugin's class name by default.
pycross.utils.pluginbase.PxPluginBase.plugin_manager |