Re: [gtkmm] TreeSortable



Murray Cumming wrote:

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?

Sorry to bother again but I can't seem to find the stock browser example.
Can you help me pls

grtz Bart



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