Home | Trees | Index | Help |
|
---|
Package wx :: Class Point |
|
object
--+
|
Point
A data structure for representing a point or position with integer x and y properties. Most places in wxPython that expect a wx.Point can also accept a (x,y) tuple.
Method Summary | |
---|---|
Point |
Create a wx.Point object |
Point |
Add pt's proprties to this and return the result. |
__del__(self)
| |
bool |
Test for equality of wx.Point objects. |
__getitem__(self,
index)
| |
Point |
Add pt to this object. |
Point |
Subtract pt from this object. |
__len__(self)
| |
bool |
Test for inequality of wx.Point objects. |
__nonzero__(self)
| |
__reduce__(self)
| |
__repr__(self)
| |
__setitem__(self,
index,
val)
| |
__str__(self)
| |
Point |
Subtract pt's proprties from this and return the result |
asTuple is deprecated, use Get instead | |
(x,y) |
Return the x and y properties as a tuple. |
Set both the x and y properties | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Property Summary | |
---|---|
x | |
y |
Class Variable Summary | |
---|---|
bool |
__safe_for_unpickling__ = True
|
Method Details |
---|
__init__(self,
x=0,
y=0)
|
__add__(self,
pt)
|
__eq__(self,
other)
|
__iadd__(self, pt)Add pt to this object.
|
__isub__(self, pt)Subtract pt from this object.
|
__ne__(self, other)Test for inequality of wx.Point objects.
|
__sub__(self,
pt)
|
asTuple(*args, **kwargs)asTuple is deprecated, use |
Get()Return the x and y properties as a tuple.
|
Set(self, x, y)Set both the x and y properties
|
Class Variable Details |
---|
__safe_for_unpickling__
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:43:55 2007 | http://epydoc.sf.net |