Phoenix Logo

phoenix_title wx.propgrid.PropertyGridIteratorBase

phoenix_title 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 Class Hierarchy

Inheritance diagram for class PropertyGridIteratorBase:


sub_classes Known Subclasses

wx.propgrid.PropertyGridConstIterator , wx.propgrid.PropertyGridIterator


method_summary 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.

property_summary Properties Summary

Property See GetProperty

api Class API



class wx.propgrid.PropertyGridIteratorBase(object)

Possible constructors:

PropertyGridIteratorBase()

Methods



__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)

overload Overloaded Implementations:



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) –

Properties



Property

See GetProperty