Re: [gtkmm] TreeSortable
- From: Murray Cumming <murrayc murrayc com>
- To: Bart Verstraete <bartverstraete telenet be>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] TreeSortable
- Date: Sun, 10 Oct 2004 17:27:33 +0200
On Thu, 2004-10-07 at 14:59 +0200, Bart Verstraete wrote:
> Me again, :-)
>
> How do you use the class 'TreeSortable' to sort your treeview column(s)
> Where could I fid a example?
For instance, use set_sort_column() or set_sort_func() to specify how to
sort the rows in the model. The "stock browser" part of the demo uses
this.
Also, TreeViewColumn::set_sort_column() lets you specify a model column
to be used for sorting when the TreeView column is clicked.
Or do you really want to sort the columns?
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]