Re: gtktree: combination filter and using gtk_tree_model_foreach

2017-05-24 Thread Eric Cashon via gtk-app-devel-list
Hi Rob, The trick here is to use gtk_tree_model_filter_convert_iter_to_child_iter(). That will get the iter that you need. It will work the same on both GTK2 and GTK3. You have to be a little careful with gtk_tree_model_foreach(). It is easy to add nodes and then the function will check ever

gtktree: combination filter and using gtk_tree_model_foreach

2017-05-24 Thread Rob Alblas
In a GtkTree I want to use a filter, and also extend the tree using gtk_tree_model_foreach. The combination of the 2 gives problems. In the function connected to gtk_tree_model_foreach I use the GtkTreeIter *iter argument, which gives an error message: Gtk-CRITICAL **: IA__gtk_tree_store_appen