Skip to content

Plugin Class

The Plugin class allows to get and set some information on a plugin. For example, you can set attributes like name, description, version, and help content. The attributes can be :

  • name : A name for the plugin.
  • description : A description for the plugin.
  • version : A version for the plugin.
  • helptext : Some MarkDown text for helping the user in the plugin use. It will be displayed in the PrestoPlot help pages (section Loaded plugins).

Public Functions

get{ attribute }
set{ attribute value }


Detailed Function Descriptions

get

get{ attribute }

Get an attribute of the plugin. See the list of attributes in the Plugin description.

Parameters :

  • attribute : The attribute name to fetch.

Return : The attribute value.

set

set{ attribute value }

Set an attribute of the plugin. See the list of attributes in the Plugin description.

Parameters :

  • attribute : The attribute name to set.

  • value : The value to set to the attribute.