Gtk.TreeModelRowIter¶
Class Details¶
- class Gtk.TreeModelRowIter(model, aiter)¶
A
Gtk.TreeModelRowIteris an object that implements the Python Iterator protocol. It provides the means to iterate over a set ofGtk.TreeModelRowobjects in aGtk.TreeModel. AGtk.TreeModelRowIteris created by calling the Python iter() function on aGtk.TreeModelobject: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 aGtk.TreeModelRowIterdoes not iterate over the child rows of the rows it is iterating over. You’ll have to use theGtk.TreeModelRow.iterchildren() method to retrieve an iterator for the child rows.- next()¶
The type of the None singleton.