| 
    KiCad PCB EDA Suite
    
   | 
 
#include <pcbnew_action_plugins.h>
  
Public Member Functions | |
| PYTHON_ACTION_PLUGIN (PyObject *action) | |
| ~PYTHON_ACTION_PLUGIN () | |
| wxString | GetCategoryName () override | 
| wxString | GetClassName () override | 
| wxString | GetName () override | 
| wxString | GetDescription () override | 
| bool | GetShowToolbarButton () override | 
| wxString | GetIconFileName (bool aDark) override | 
| wxString | GetPluginPath () override | 
| void | Run () override | 
| This method the the action.   | |
| void * | GetObject () override | 
| This method gets the pointer to the object from where this action constructs.   | |
| void | register_action () | 
| It's the standard method of a "ACTION_PLUGIN" to register itself into the ACTION_PLUGINS singleton manager.   | |
Public Attributes | |
| int | m_actionMenuId | 
| int | m_actionButtonId | 
| wxBitmap | iconBitmap | 
| bool | show_on_toolbar | 
Private Member Functions | |
| PyObject * | CallMethod (const char *aMethod, PyObject *aArglist=nullptr) | 
| wxString | CallRetStrMethod (const char *aMethod, PyObject *aArglist=nullptr) | 
Private Attributes | |
| wxString | m_cachedName | 
| PyObject * | m_PyAction | 
Definition at line 40 of file pcbnew_action_plugins.h.
| PYTHON_ACTION_PLUGIN::PYTHON_ACTION_PLUGIN | ( | PyObject * | action | ) | 
Definition at line 48 of file pcbnew_action_plugins.cpp.
References m_PyAction.
| PYTHON_ACTION_PLUGIN::~PYTHON_ACTION_PLUGIN | ( | ) | 
Definition at line 57 of file pcbnew_action_plugins.cpp.
References m_PyAction.
      
  | 
  private | 
Definition at line 65 of file pcbnew_action_plugins.cpp.
References _, _HKI, KIPLATFORM::APP::AttachConsole(), m_cachedName, m_PyAction, and result.
Referenced by CallRetStrMethod(), GetShowToolbarButton(), and Run().
      
  | 
  private | 
Definition at line 152 of file pcbnew_action_plugins.cpp.
References CallMethod(), and result.
Referenced by GetCategoryName(), GetClassName(), GetDescription(), GetIconFileName(), GetName(), and GetPluginPath().
      
  | 
  overridevirtual | 
Implements ACTION_PLUGIN.
Definition at line 166 of file pcbnew_action_plugins.cpp.
References CallRetStrMethod().
      
  | 
  overridevirtual | 
Implements ACTION_PLUGIN.
Definition at line 174 of file pcbnew_action_plugins.cpp.
References CallRetStrMethod().
      
  | 
  overridevirtual | 
Implements ACTION_PLUGIN.
Definition at line 193 of file pcbnew_action_plugins.cpp.
References CallRetStrMethod().
      
  | 
  overridevirtual | 
| aDark | set to true if requesting dark theme icon. | 
Implements ACTION_PLUGIN.
Definition at line 211 of file pcbnew_action_plugins.cpp.
References CallRetStrMethod(), and result.
      
  | 
  overridevirtual | 
Implements ACTION_PLUGIN.
Definition at line 182 of file pcbnew_action_plugins.cpp.
References CallRetStrMethod(), m_cachedName, and name.
      
  | 
  overridevirtual | 
This method gets the pointer to the object from where this action constructs.
Implements ACTION_PLUGIN.
Definition at line 241 of file pcbnew_action_plugins.cpp.
References m_PyAction.
      
  | 
  overridevirtual | 
Implements ACTION_PLUGIN.
Definition at line 225 of file pcbnew_action_plugins.cpp.
References CallRetStrMethod().
      
  | 
  overridevirtual | 
Implements ACTION_PLUGIN.
Definition at line 201 of file pcbnew_action_plugins.cpp.
References CallMethod(), and result.
      
  | 
  inherited | 
It's the standard method of a "ACTION_PLUGIN" to register itself into the ACTION_PLUGINS singleton manager.
Definition at line 43 of file action_plugin.cpp.
References ACTION_PLUGINS::register_action().
Referenced by PYTHON_ACTION_PLUGINS::register_action().
      
  | 
  overridevirtual | 
This method the the action.
Implements ACTION_PLUGIN.
Definition at line 233 of file pcbnew_action_plugins.cpp.
References CallMethod().
      
  | 
  inherited | 
Definition at line 109 of file action_plugin.h.
Referenced by PCB_EDIT_FRAME::addActionPluginTools(), PCB_EDIT_FRAME::buildActionPluginMenus(), and ACTION_PLUGINS::register_action().
      
  | 
  inherited | 
Definition at line 106 of file action_plugin.h.
Referenced by ACTION_PLUGIN(), and ACTION_PLUGINS::SetActionButton().
      
  | 
  inherited | 
Definition at line 103 of file action_plugin.h.
Referenced by ACTION_PLUGIN().
      
  | 
  private | 
Definition at line 56 of file pcbnew_action_plugins.h.
Referenced by CallMethod(), and GetName().
      
  | 
  private | 
Definition at line 58 of file pcbnew_action_plugins.h.
Referenced by CallMethod(), GetObject(), PYTHON_ACTION_PLUGIN(), and ~PYTHON_ACTION_PLUGIN().
      
  | 
  inherited | 
Definition at line 112 of file action_plugin.h.
Referenced by ACTION_PLUGIN().