wx.propgrid.PropertyGridIteratorBase¶
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.
Methods Summary¶__init__ |
|
Assign |
|
AtEnd |
|
GetProperty |
Get current property. |
Init |
|
Next |
Iterate to the next property. |
Prev |
Iterate to the previous property. |
SetBaseParent |
Set base parent, ie a property when, in which iteration returns, it ends. |
Class API¶wx.propgrid.PropertyGridIteratorBase(object)¶Possible constructors:
PropertyGridIteratorBase()
__init__(self)¶Assign(self, it)¶| Parameters: | it (wx.propgrid.PropertyGridIteratorBase) – |
|---|
AtEnd(self)¶| Return type: | bool |
|---|
GetProperty(self)¶Get current property.
| Return type: | wx.propgrid.PGProperty |
|---|
Init(self, *args, **kw)¶Init (self, state, flags, property, dir=1)
| Parameters: |
|
|---|
Init (self, state, flags, startPos=TOP, dir=0)
| Parameters: |
|
|---|
Next(self, iterateChildren=True)¶Iterate to the next property.
| Parameters: | iterateChildren (bool) – |
|---|
Prev(self)¶Iterate to the previous property.
SetBaseParent(self, baseParent)¶Set base parent, ie 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) – |
|---|
Property¶See GetProperty