[Gtk-sharp-list] Sorting treeview with filter

Draek draekz at gmail.com
Tue Nov 14 14:22:39 EST 2006

I didn't know about this tool until i saw this post, but now that I try
and use it, I find something very odd, if i print out what i get from
the iters that call the function, there are double what there used to
be, and most of them are NULL. (or they are not the iters that I've

All the iters that I have appended are present, but there are tons of
null cases that pop up. I dont understand why.

Its not really a huge impact, but i would like to understand it better.

Does anyone know why?


On the filter function, 
On Mon, 2006-10-30 at 13:30 -0600, Boyd Timothy wrote:
> > > I just hit this same problem.  Could this just be a bug in gtk-sharp
> > > or does the same problem exist if you are writing gtk+ in C?  Any
> > > ideas on this one anyone?
> >
> > TreeModelFilter does not implement the TreeSortable interface required
> > for sorting in TreeViews.  Instead, you should wrap your TreeModelFilter
> > in a TreeModelSort.
> Doh!  Just barely found this out right before reading your reply.
> Works like a champ now!  Hopefully this post helps out the next guy.
> -Boyd
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

More information about the Gtk-sharp-list mailing list