fsleyes.actions.loadplugin

This module provides the LoadPluginAction class, an action which allows the user to load/install FSLeyes plugins.

class fsleyes.actions.loadplugin.LoadPluginAction(overlayList, displayCtx, frame)[source]

Bases: fsleyes.actions.base.Action

The LoadPluginAction class is an Action which allows the user to load/install FSLeyes plugins - see the plugins module.

__init__(overlayList, displayCtx, frame)[source]

Create a LoadPluginAction.

Parameters
_LoadPluginAction__loadPlugin(*args, **kwargs)

Prompts the user to select a plugin file, asks them whether they would like to install it permanently, and then passes it to either loadPlugin() or installPlugin().

__module__ = 'fsleyes.actions.loadplugin'