wx.propgrid.PropertyGridIteratorBase¶
Base for wx.propgrid.PropertyGridIterator classes.
PropertyGridIterator¶
Preferable way to iterate through contents of wx.propgrid.PropertyGrid, wx.propgrid.PropertyGridManager, and wx.propgrid.PropertyGridPage. See wx.propgrid.PropertyGridInterface.GetIterator
for more information about usage.
Class Hierarchy¶
Known Subclasses¶
wx.propgrid.PropertyGridConstIterator , wx.propgrid.PropertyGridIterator
Methods Summary¶
Get current property. |
|
Iterate to the next property. |
|
Iterate to the previous property. |
|
Set base parent, i.e. |
Properties Summary¶
See |
Class API¶
- class wx.propgrid.PropertyGridIteratorBase(object)¶
Possible constructors:
PropertyGridIteratorBase() -> None
Base for PropertyGridIterator classes.
Methods¶
- __init__(self)¶
- Return type:
None
- Assign(self, it)¶
- Parameters:
- Return type:
None
- AtEnd(self)¶
- Return type:
bool
- GetProperty(self)¶
Get current property.
- Return type:
- Init(self, *args, **kw)¶
-
Init (self, state, flags, property, dir=1)
- Parameters:
flags (int)
property (wx.propgrid.PGProperty)
dir (int)
- Return type:
None
Init (self, state, flags, startPos=TOP, dir=0)
- Parameters:
flags (int)
startPos (int)
dir (int)
- Return type:
None
- Next(self, iterateChildren=True)¶
Iterate to the next property.
- Parameters:
iterateChildren (bool)
- Return type:
None
- Prev(self)¶
Iterate to the previous property.
- Return type:
None
- SetBaseParent(self, baseParent)¶
Set base parent, i.e.
a property when, in which iteration returns, it ends.
Default base parent is the root of the used wx.propgrid.PropertyGridPageState.
- Parameters:
baseParent (wx.propgrid.PGProperty)
- Return type:
None
Properties¶
- Property¶
See
GetProperty