Re: TreeFilterModel and sorting



On Tuesday 07 December 2004 09:36, bernd wrote:

> we use GtkTreeModelFilter to filter a modell to diff. views. Ok it
> works. But we can't sorting the view because the model in the view is
> not a SORTABLE.
>   <snip>
> Is it not possible to sort a view with FilterModel?
> Or have me make a failure in building the view?

You'll need to put a GtkTreeModelSort between the view and the FilterModel. 
GtkTreeModelSort is a GtkTreeSortable.

Cheers
 -Tim




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