Hi,

On Mi, 2003-11-05 at 22:51, Jeffrey C. Ollie wrote:

> I'm implementing a custom TreeModel to display the contents of a large
> debug file.  Things are working very well, except that when the model is
> first assigned to the view, the view walks through every row in the
> model before displaying!  This makes the initial display very slow! 
> Once the initial display is completed scolling around in the view is
> very fast.  I wrote the custom TreeModel to avoid reading & parsing
> every line in the file until the line actually needed displaying.  Is
> this the normal behavior of a TreeView or is there a bug somewhere?

I don't think so. I have an app where I display data from an LDAP tree
using the vanilla TreeStore & TreeView. The scrolling is pretty fast,
although I have more then 500 in average. Maybe it's because I assign
the data for the child nodes (if any) on the fly, i.e. when a parent
node is beeng expanded...

Igor
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to