This class represents the position of an item in a virtual grid of
rows and columns managed by a wx.GridBagSizer. wxPython has
typemaps that will automatically convert from a 2-element sequence of
integers to a wx.GBPosition, so you can use the more pythonic
representation of the position nearly transparently in Python code.
| Method Summary |
| GBPosition |
__init__(self,
row,
col)
This class represents the position of an item in a virtual grid of
rows and columns managed by a wx.GridBagSizer. |
| bool |
__eq__(self,
other)
Compare GBPosition for equality. |
| |
__getitem__(self,
index)
|
| |
__len__(self)
|
| bool |
__ne__(self,
other)
Compare GBPosition for inequality. |
| |
__nonzero__(self)
|
| |
__reduce__(self)
|
| |
__repr__(self)
|
| |
__setitem__(self,
index,
val)
|
| |
__str__(self)
|
| |
asTuple(*args,
**kwargs)
asTuple is deprecated, use Get instead |
| PyObject |
Get(self)
|
| int |
GetCol(self)
|
| int |
GetRow(self)
|
| |
Set(self,
row,
col)
|
| |
SetCol(self,
col)
|
| |
SetRow(self,
row)
|
| Inherited from object |
| |
__delattr__(...)
x.__delattr__('name') <==> del x.name |
| |
__getattribute__(...)
x.__getattribute__('name') <==> x.name |
| |
__hash__(x)
Return hash(x)... |
| |
__new__(T,
S,
...)
Return a new object with type S, a subtype of T... |
| |
__reduce_ex__(...)
helper for pickle |
| |
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |