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

Public Member Functions

def __init__ (self, *args)
 
"int" GetX (self)
 
"void" SetX (self, "int" xx)
 
"int" GetY (self)
 
"void" SetY (self, "int" yy)
 
"int" GetWidth (self)
 
"void" SetWidth (self, "int" w)
 
"int" GetHeight (self)
 
"void" SetHeight (self, "int" h)
 
"wxPoint" GetPosition (self)
 
"void" SetPosition (self, "wxPoint" p)
 
"PyObject *" Get (self)
 
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.wxRect_x_get, _pcbnew.wxRect_x_set, doc=)
 
 y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=)
 
 width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=)
 
 height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=)
 

Detailed Description

Proxy of C++ wxRect class.

Definition at line 488 of file pcbnew.py.

Constructor & Destructor Documentation

◆ __init__()

def pcbnew.wxRect.__init__ (   self,
args 
)
    __init__(wxRect self) -> wxRect
    __init__(wxRect self, int xx, int yy, int ww, int hh) -> wxRect
    __init__(wxRect self, wxPoint topLeft, wxPoint bottomRight) -> wxRect
    __init__(wxRect self, wxPoint pt, wxSize size) -> wxRect
    __init__(wxRect self, wxSize size) -> wxRect

Definition at line 494 of file pcbnew.py.

Here is the caller graph for this function:

Member Function Documentation

◆ __eq__()

def pcbnew.wxRect.__eq__ (   self,
  other 
)

Definition at line 553 of file pcbnew.py.

◆ __getitem__()

def pcbnew.wxRect.__getitem__ (   self,
  index 
)

Definition at line 558 of file pcbnew.py.

◆ __len__()

def pcbnew.wxRect.__len__ (   self)

Definition at line 557 of file pcbnew.py.

◆ __nonzero__()

def pcbnew.wxRect.__nonzero__ (   self)

Definition at line 565 of file pcbnew.py.

◆ __repr__()

def pcbnew.wxRect.__repr__ (   self)

Definition at line 556 of file pcbnew.py.

◆ __setitem__()

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

Definition at line 559 of file pcbnew.py.

◆ __str__()

def pcbnew.wxRect.__str__ (   self)

Definition at line 555 of file pcbnew.py.

Here is the caller graph for this function:

◆ Get()

"PyObject *" pcbnew.wxRect.Get (   self)
Get(wxRect self) -> PyObject *

Definition at line 548 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetHeight()

"int" pcbnew.wxRect.GetHeight (   self)
GetHeight(wxRect self) -> int

Definition at line 528 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetPosition()

"wxPoint" pcbnew.wxRect.GetPosition (   self)
GetPosition(wxRect self) -> wxPoint

Definition at line 536 of file pcbnew.py.

◆ GetWidth()

"int" pcbnew.wxRect.GetWidth (   self)
GetWidth(wxRect self) -> int

Definition at line 520 of file pcbnew.py.

Here is the caller graph for this function:

◆ GetX()

"int" pcbnew.wxRect.GetX (   self)
GetX(wxRect self) -> int

Definition at line 504 of file pcbnew.py.

◆ GetY()

"int" pcbnew.wxRect.GetY (   self)
GetY(wxRect self) -> int

Definition at line 512 of file pcbnew.py.

◆ SetHeight()

"void" pcbnew.wxRect.SetHeight (   self,
"int"  h 
)
SetHeight(wxRect self, int h)

Definition at line 532 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetPosition()

"void" pcbnew.wxRect.SetPosition (   self,
"wxPoint"  p 
)
SetPosition(wxRect self, wxPoint p)

Definition at line 540 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetWidth()

"void" pcbnew.wxRect.SetWidth (   self,
"int"  w 
)
SetWidth(wxRect self, int w)

Definition at line 524 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetX()

"void" pcbnew.wxRect.SetX (   self,
"int"  xx 
)
SetX(wxRect self, int xx)

Definition at line 508 of file pcbnew.py.

Here is the caller graph for this function:

◆ SetY()

"void" pcbnew.wxRect.SetY (   self,
"int"  yy 
)
SetY(wxRect self, int yy)

Definition at line 516 of file pcbnew.py.

Here is the caller graph for this function:

Property Documentation

◆ height

pcbnew.wxRect.height = property(_pcbnew.wxRect_height_get, _pcbnew.wxRect_height_set, doc=)
static

Definition at line 546 of file pcbnew.py.

◆ thisown

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

Definition at line 491 of file pcbnew.py.

◆ width

pcbnew.wxRect.width = property(_pcbnew.wxRect_width_get, _pcbnew.wxRect_width_set, doc=)
static

Definition at line 545 of file pcbnew.py.

◆ x

pcbnew.wxRect.x = property(_pcbnew.wxRect_x_get, _pcbnew.wxRect_x_set, doc=)
static

Definition at line 543 of file pcbnew.py.

◆ y

pcbnew.wxRect.y = property(_pcbnew.wxRect_y_get, _pcbnew.wxRect_y_set, doc=)
static

Definition at line 544 of file pcbnew.py.


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