parameters: (self, flags=PG_ITERATE_DEFAULT,
                        firstProperty=None)
docstring: Returns a pythonic property iterator for a single `PropertyGrid`
          or page in `PropertyGridManager`. Arguments are same as for
          `GetIterator`. Following example demonstrates iterating absolutely
          all items in a single grid::
  
              iterator = propGrid.GetPyIterator(wx.propgrid.PG_ITERATE_ALL)
              for prop in iterator:
                  print(prop)
  
          :see: `wx.propgrid.PropertyGridInterface.Properties`
                `wx.propgrid.PropertyGridInterface.Items`
docstring_summary: Returns a pythonic property iterator for a single `PropertyGrid`
          or page in `PropertyGridManager`. Arguments are same as for
          `GetIterator`. Following example demonstrates iterating absolutely
          all items in a single grid::
docstring_tokens: Returns a pythonic property iterator for a single PropertyGrid or page in PropertyGridManager . Arguments are same as for GetIterator . Following example demonstrates iterating absolutely all items in a single grid ::
function: def GetPyIterator(self, flags=PG_ITERATE_DEFAULT,
                        firstProperty=None):
          """
          Returns a pythonic property iterator for a single `PropertyGrid`
          or page in `PropertyGridManager`. Arguments are same as for
          `GetIterator`. Following example demonstrates iterating absolutely
          all items in a single grid::
  
              iterator = propGrid.GetPyIterator(wx.propgrid.PG_ITERATE_ALL)
              for prop in iterator:
                  print(prop)
  
          :see: `wx.propgrid.PropertyGridInterface.Properties`
                `wx.propgrid.PropertyGridInterface.Items`
          """
          it = self.GetIterator(flags, firstProperty)
          while not it.AtEnd():
              yield it.GetProperty()
              it.Next()
function_tokens: def GetPyIterator ( self , flags = PG_ITERATE_DEFAULT , firstProperty = None ) : it = self . GetIterator ( flags , firstProperty ) while not it . AtEnd ( ) : yield it . GetProperty ( ) it . Next ( )