Re: Making a sortable list
- From: "Claudio Saavedra V." <csaavedra alumnos utalca cl>
- To: "Andersen, Jan" <jandersen informatica com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Making a sortable list
- Date: Thu, 29 Jul 2004 12:23:03 -0400
On Thu, 2004-07-29 at 12:05, Andersen, Jan wrote:
How do I make a list sortable - so that when I click the column header, the list is sorted by that column?
I have a GtkListStore displayed by a GtkTreeView, but the documentation gets a bit abstract on the point of
sorting things and doesn't really clarify matters much beyond telling that it is 'trivial', which I suppose
is a good thing.
gtk_tree_view_column_set_reorderable (column, TRUE);
check scentric.net/tutorial also
] [Thread Prev