[Gtk-sharp-list] Sorting treeview with filter
Boyd Timothy
btimothy at gmail.com
Mon Oct 30 14:30:07 EST 2006
> > 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
More information about the Gtk-sharp-list
mailing list