Dear friends,
I am trying to make a Treeview sortable. I have managed to get sortable
by any one column, using
GtkTreeSortable *sortable=GTK_TREE_SORTABLE(data-store);
Code:
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(sortable),
ID_YEAR, GTK_SORT_ASCENDING);
which
Dear friends,
I am trying to make a Treeview sortable. I have managed to get sortable by any
one column, using
GtkTreeSortable *sortable=GTK_TREE_SORTABLE(data-store);
Code:
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(sortable),
ID_YEAR, GTK_SORT_ASCENDING);
On Sun, Oct 07, 2012 at 12:25:22AM +0100, Rudra Banerjee wrote:
What I am looking for, is make my header clickable to get the sorting,
with initial view completely unsorted.
Then look at List Store in gtk-demo. It demonstrates this clearly.
Yeti