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¶Get current property. |
|
Iterate to the next property. |
|
Iterate to the previous property. |
|
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)¶AtEnd(self)¶bool
GetProperty(self)¶Get current property.
Init(self, *args, **kw)¶Init (self, state, flags, property, dir=1)
state (wx.propgrid.PropertyGridPageState) –
flags (int) –
property (wx.propgrid.PGProperty) –
dir (int) –
Init (self, state, flags, startPos=TOP, dir=0)
state (wx.propgrid.PropertyGridPageState) –
flags (int) –
startPos (int) –
dir (int) –
Next(self, iterateChildren=True)¶Iterate to the next property.
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.
baseParent (wx.propgrid.PGProperty) –
Property¶See GetProperty