[pygtk] TreeSort and TreeFilter

Bob McCallister hcsrpm at texlife.com
Wed Jul 21 01:22:40 WST 2004


That solved the problem.  It was the order I was creating the models. 
Thanks for your help.

Guilherme Salgado wrote:

> This is a testcase i was writing to show another problem i was having.
> It works fine with pygtk2.3.92 and have a sorted and a filtered model.
> 
> Hope it helps.
> 
> Guilherme
> 
> On Tue, 2004-07-20 at 13:40, Bob McCallister wrote:
> 
>>Is it not possible to have a sorted and filtered treeview?  I have tried 
>>a couple of different approaches, but it seems I have to have one or the 
>>other.  I'm using pygtk-2.3.93.  If I create the filter from the sorted 
>>model, and then try to sort, I get an assertion error (tree not 
>>sortable).  If I create the filter from the liststore model, I can't sort.
>>
> 
> 



More information about the pygtk mailing list