KiCad PCB EDA Suite
PYTHON_ACTION_PLUGINS Class Reference

#include <pcbnew_action_plugins.h>

Static Public Member Functions

static void register_action (PyObject *aPyAction)
 
static void deregister_action (PyObject *aPyAction)
 

Detailed Description

Definition at line 55 of file pcbnew_action_plugins.h.

Member Function Documentation

void PYTHON_ACTION_PLUGINS::deregister_action ( PyObject *  aPyAction)
static

Definition at line 164 of file pcbnew_action_plugins.cpp.

References ACTION_PLUGINS::deregister_object().

165 {
166  // deregister also destroyes the previously created "PYTHON_ACTION_PLUGIN object"
167  ACTION_PLUGINS::deregister_object( (void*) aPyAction );
168 }
static bool deregister_object(void *aObject)
Function deregister_object Anyone calls this method to deregister an object which builds a action...
void PYTHON_ACTION_PLUGINS::register_action ( PyObject *  aPyAction)
static

Definition at line 156 of file pcbnew_action_plugins.cpp.

References ACTION_PLUGIN::register_action().

157 {
158  PYTHON_ACTION_PLUGIN* fw = new PYTHON_ACTION_PLUGIN( aPyAction );
159 
160  fw->register_action();
161 }
void register_action()
Function register_action It's the standard method of a "ACTION_PLUGIN" to register itself into the AC...

The documentation for this class was generated from the following files: