KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PLUGIN_ACTION Struct Reference

An action performed by a plugin via the IPC API. More...

#include <api_plugin.h>

Public Member Functions

 PLUGIN_ACTION (const API_PLUGIN &aPlugin)
 

Public Attributes

wxString identifier
 
wxString name
 
wxString description
 
bool show_button = false
 
wxString entrypoint
 
std::set< PLUGIN_ACTION_SCOPEscopes
 
std::vector< wxString > args
 
wxBitmapBundle icon_light
 
wxBitmapBundle icon_dark
 
const API_PLUGINplugin
 

Detailed Description

An action performed by a plugin via the IPC API.

Definition at line 70 of file api_plugin.h.

Constructor & Destructor Documentation

◆ PLUGIN_ACTION()

PLUGIN_ACTION::PLUGIN_ACTION ( const API_PLUGIN & aPlugin)
inline

Definition at line 72 of file api_plugin.h.

References plugin.

Member Data Documentation

◆ args

std::vector<wxString> PLUGIN_ACTION::args

◆ description

wxString PLUGIN_ACTION::description

◆ entrypoint

wxString PLUGIN_ACTION::entrypoint

◆ icon_dark

wxBitmapBundle PLUGIN_ACTION::icon_dark

◆ icon_light

wxBitmapBundle PLUGIN_ACTION::icon_light

◆ identifier

◆ name

wxString PLUGIN_ACTION::name

◆ plugin

const API_PLUGIN& PLUGIN_ACTION::plugin

◆ scopes

std::set<PLUGIN_ACTION_SCOPE> PLUGIN_ACTION::scopes

Definition at line 81 of file api_plugin.h.

Referenced by API_PLUGIN::createActionFromJson().

◆ show_button


The documentation for this struct was generated from the following file: