Re: TreeFilterModel and sorting
- From: stian nixia no
- To: "John Gill" <jng europe renre com>
- Cc: bernd <bernd demian csc-dd de>, gtk-list gnome org
- Subject: Re: TreeFilterModel and sorting
- Date: Thu, 24 Feb 2005 17:15:45 +0100 (CET)
> I've just run into this problem (using pygtk).
>
> I'd like to have a liststore that is both sortable and filterable.
>
> In fact, I had such a beast, but I was using my own nasty hacks to
> implement the filtering. I've had on my to-do list to switch to the
> TreeModelFilter + I've just tried that -- unfortunately it seems I can
> either have filtering or sorting, but not both.
>
> Am I missing some trick?
You can stack models
GtkListStore
GtkFilterStore
GtkSortStore
And use the Store are the model in the GtkTreeview
Stian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]