Christian Robottom Reis [Thu, Nov 06, 2003 at 09:56:36AM -0200]:
> > 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 think the reason for reading all the lines was calculating how high
> each row should be; I remember someone discussing a solution to this,
> but I'm not sure what the current situation is.

Kris told me, that gtk 2.4 will have an option to turn off "scanning" of the
rows at the initialization of the widget - which, of course, is painfully
slow in case you have 1,000,000,000 rows in your model.

Anyway, common sense tells me, that if you want to have automatically sized
columns, the widget will still be performing such scan.

Take care,
-- 
Michal Pasternak :: http://pasternak.w.lub.pl
_______________________________________________
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