Gtk.TreeModelRowIteris an object that implements the Python Iterator protocol. It provides the means to iterate over a set of
Gtk.TreeModelRowobjects in a
Gtk.TreeModelRowIteris created by calling the Python iter() function on a
treemodelrowiter = iter(treestore)
or, calling the
Gtk.TreeModelRow.iterchildren() method to iterate over its child rows.
Each time you call the next() method it returns the next sibling
Gtk.TreeModelRow. When there are no rows left the StopIteration exception is raised. Note that a
Gtk.TreeModelRowIterdoes not iterate over the child rows of the rows it is iterating over. You’ll have to use the
Gtk.TreeModelRow.iterchildren() method to retrieve an iterator for the child rows.