GNOME Bugzilla – Bug 76250
GtkTreeSelection: iterator interface
Last modified: 2011-02-04 16:11:17 UTC
It seems that currently the only way to iterate over all selected item in a GtkTreeView is using the gtk_tree_selection_selected_foreach () method. A simple iterator based interface would allow cleaner solution than passing around structures as user data in many cases. (E.g. something like gtk_tree_selection_get_iter(), gtk_tree_selection_get_next() etc.)
Yeah -- this may be a better way of doing it. jlbec has proposed something like this many times in the past
Reassigning bugs to new component owner. Sorry for the flood.
Moving to 2.2 API freeze since it's an API bug (2.4 API freeze is more realistic, most likely.)
There is now a function called gtk_tree_selection_get_selected_rows(). This is basically what I needed. Closing this bug.