[pygtk] TreeSort and TreeFilter

Guilherme Salgado salgado at freeshell.org
Wed Jul 21 01:07:08 WST 2004


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.
> 

-- 
This email has been inspected by Hans Blix, who has reported that no
weapons of mass destruction were used in its construction. 
Read his report here:
<http://www.un.org/apps/news/infocusnewsiraq.asp?NewsID=414&sID=6>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filtersort.py
Type: application/x-python
Size: 2391 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20040720/aa9615aa/filtersort.bin


More information about the pygtk mailing list