Gtk.TreeModel.prototype.foreach
function foreach(func:Gtk.TreeModelForeachFunc):void {
// Gjs wrapper for gtk_tree_model_foreach()
}Calls func on each node in model in a depth-first fashion.
If func returns true, then the tree ceases to be walked, and Gtk.TreeModel.prototype.foreach returns.
- func
a function to be called on each row