sort a treeview



hi people !
is there a way to define how a treemodelsort must sort its items ?
i think i can use :
gtk_tree_sortable_set_sort_func
                                            (GtkTreeSortable *sortable,
                                            gint sort_column_id,
GtkTreeIterCompareFunc sort_func,
                                            gpointer user_data,
                                            GtkDestroyNotify destroy)
but i don't know what are GtkTreeIterCompareFunc and GtkDestroyNotify...

_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]