Hello list,
I'm having touble sorting a treeview, my model has the following structure:
model = new TreeStore (typeof (my_object), typeof(bool), typeof (string),
typeof(string));
the 4th column, wich is declared string, is really a date so I do this:
LST_POSTS_DATE=3;
col = lstPosts.AppendColumn("Date", new Gtk.CellRendererText() , "text",
LST_POSTS_DATE);
col.SortColumnId = LST_POSTS_DATE;
model.SetSortFunc(LST_POSTS_DATE, cmpPostDate);
but my sorting function (cmpPostDate) never gets called, and the rows are
ordered alphabetically.
What am I doing wrong?
TIA,
nuno marques
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list