Re: [gtkmm] TreeSortable



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]