KiCad Pcbnew Python Scripting
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pcbnew.COLORS_DESIGN_SETTINGS Class Reference
Inheritance diagram for pcbnew.COLORS_DESIGN_SETTINGS:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, aFrameType)
 
def Load (self, aConfig)
 
def Save (self, aConfig)
 
def GetLayerColor (self, aLayer)
 
def SetLayerColor (self, aLayer, aColor)
 
def GetItemColor (self, aItemIdx)
 
def SetItemColor (self, aItemIdx, aColor)
 
def SetAllColorsAs (self, aColor)
 
def SetLegacyMode (self, aMode)
 

Public Attributes

 this
 

Static Public Attributes

 m_LayersColors = _swig_property(_pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_get, _pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_set)
 

Detailed Description

Proxy of C++ COLORS_DESIGN_SETTINGS class.

Definition at line 2483 of file pcbnew.py.

Constructor & Destructor Documentation

def pcbnew.COLORS_DESIGN_SETTINGS.__init__ (   self,
  aFrameType 
)
__init__(COLORS_DESIGN_SETTINGS self, FRAME_T aFrameType) -> COLORS_DESIGN_SETTINGS

Definition at line 2496 of file pcbnew.py.

Member Function Documentation

def pcbnew.COLORS_DESIGN_SETTINGS.GetItemColor (   self,
  aItemIdx 
)
GetItemColor(COLORS_DESIGN_SETTINGS self, int aItemIdx) -> COLOR4D

Definition at line 2526 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.GetLayerColor (   self,
  aLayer 
)
GetLayerColor(COLORS_DESIGN_SETTINGS self, LAYER_NUM aLayer) -> COLOR4D

Definition at line 2516 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.Load (   self,
  aConfig 
)
Load(COLORS_DESIGN_SETTINGS self, wxConfigBase * aConfig)

Definition at line 2506 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.Save (   self,
  aConfig 
)
Save(COLORS_DESIGN_SETTINGS self, wxConfigBase * aConfig)

Definition at line 2511 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetAllColorsAs (   self,
  aColor 
)
SetAllColorsAs(COLORS_DESIGN_SETTINGS self, COLOR4D aColor)

Definition at line 2536 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetItemColor (   self,
  aItemIdx,
  aColor 
)
SetItemColor(COLORS_DESIGN_SETTINGS self, int aItemIdx, COLOR4D aColor)

Definition at line 2531 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetLayerColor (   self,
  aLayer,
  aColor 
)
SetLayerColor(COLORS_DESIGN_SETTINGS self, LAYER_NUM aLayer, COLOR4D aColor)

Definition at line 2521 of file pcbnew.py.

def pcbnew.COLORS_DESIGN_SETTINGS.SetLegacyMode (   self,
  aMode 
)
SetLegacyMode(COLORS_DESIGN_SETTINGS self, bool aMode)

Definition at line 2541 of file pcbnew.py.

Member Data Documentation

pcbnew.COLORS_DESIGN_SETTINGS.m_LayersColors = _swig_property(_pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_get, _pcbnew.COLORS_DESIGN_SETTINGS_m_LayersColors_set)
static

Definition at line 2494 of file pcbnew.py.

pcbnew.COLORS_DESIGN_SETTINGS.this

Definition at line 2502 of file pcbnew.py.


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