[Gtk-sharp-list] Sorting treeview with filter

Brad Taylor brad at getcoded.net
Mon Oct 30 13:56:27 EST 2006


Hey,

> 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.


Hope this helps.

-Brad

-- 
Brad Taylor
Genome Software
http://www.getcoded.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20061030/074ffa8f/attachment.bin 


More information about the Gtk-sharp-list mailing list