[pygtk] treeview(list) model for large data sets

Chris Camacho chris_camacho at yahoo.com
Sun Mar 15 08:21:08 WST 2009


As I understand it when a generic table model instances, it iterates through all
the items it can in order to make its own internal representation.

However if I have a data set of 1,000's or possibly 1,000,000's is there any way to
get the data model to only iterate the items it need for the current window of view

Ideally I'd like to cache rows in a kind of first in last out buffer, the oldest rows being 
released in favour of the new rows as the view scrolls.

Any ideas?

Thanks
Chris    



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090314/2644ba8e/attachment.htm 


More information about the pygtk mailing list