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

description
get{ attribute }
helptext
name
set{ attribute value }
version


Detailed Functions Descriptions

description

description

Description of the plugin

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.

helptext

helptext

Some MarkDown text for helping the user in the plugin use. It will be displayed in the PrestoPlot help pages (section Loaded plugins).

name

name

Name of the plugin

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.

version

version

Plugin version