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

Public Member Functions

def __init__ (self, *args)
 
def Get (self)
 
def SetWidth (self, w)
 
def SetHeight (self, h)
 
def GetWidth (self)
 
def GetHeight (self)
 
def Scale (self, xscale, yscale)
 
def __eq__ (self, other)
 
def __str__ (self)
 
def __repr__ (self)
 
def __len__ (self)
 
def __getitem__ (self, index)
 
def __setitem__ (self, index, val)
 
def __nonzero__ (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
 x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=)
 
 y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=)
 

Detailed Description

Proxy of C++ wxSize class.

Definition at line 573 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.wxSize.__init__ (   self,
args 
)
    __init__(wxSize self, int xx, int yy) -> wxSize
    __init__(wxSize self, double xx, double yy) -> wxSize

Definition at line 581 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __eq__()

def pcbnew.wxSize.__eq__ (   self,
  other 
)

Definition at line 611 of file pcbnew.py.

◆ __getitem__()

def pcbnew.wxSize.__getitem__ (   self,
  index 
)

Definition at line 616 of file pcbnew.py.

◆ __len__()

def pcbnew.wxSize.__len__ (   self)

Definition at line 615 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.wxSize.__nonzero__ (   self)

Definition at line 621 of file pcbnew.py.

◆ __repr__()

def pcbnew.wxSize.__repr__ (   self)

Definition at line 614 of file pcbnew.py.

◆ __setitem__()

def pcbnew.wxSize.__setitem__ (   self,
  index,
  val 
)

Definition at line 617 of file pcbnew.py.

◆ __str__()

def pcbnew.wxSize.__str__ (   self)

Definition at line 613 of file pcbnew.py.

Here is the caller graph for this function:

◆ Get()

def pcbnew.wxSize.Get (   self)
Get(wxSize self) -> PyObject *

Definition at line 588 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetHeight()

def pcbnew.wxSize.GetHeight (   self)
GetHeight(wxSize self) -> int

Definition at line 605 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetWidth()

def pcbnew.wxSize.GetWidth (   self)
GetWidth(wxSize self) -> int

Definition at line 601 of file pcbnew.py.

Here is the caller graph for this function:

◆ Scale()

def pcbnew.wxSize.Scale (   self,
  xscale,
  yscale 
)

Definition at line 609 of file pcbnew.py.

◆ SetHeight()

def pcbnew.wxSize.SetHeight (   self,
  h 
)
SetHeight(wxSize self, int h)

Definition at line 597 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetWidth()

def pcbnew.wxSize.SetWidth (   self,
  w 
)
SetWidth(wxSize self, int w)

Definition at line 593 of file pcbnew.py.

Here is the caller graph for this function:

Property Documentation

◆ thisown

pcbnew.wxSize.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 576 of file pcbnew.py.

◆ x

pcbnew.wxSize.x = property(_pcbnew.wxSize_x_get, _pcbnew.wxSize_x_set, doc=)
static

Definition at line 578 of file pcbnew.py.

◆ y

pcbnew.wxSize.y = property(_pcbnew.wxSize_y_get, _pcbnew.wxSize_y_set, doc=)
static

Definition at line 579 of file pcbnew.py.


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