[EMAIL PROTECTED] wrote:
Hi again,

First of all, thanks Felix for the tips! I didn't know about os.walk,
which is very helpful.

Now eveything is worked as expected (using the gobject.idle_add trick). My
only problem now is that filling a treeview with 200 elements is soooo
slow if you do it this way.
You probably want to disconnect the model from the view while updating, to avoid that every addition regenerates the view. You set the model again at the end of each bunch of updates. You can see some tricks to improve the performance of treeviews at the pygtk.org FAQ.

Regards,

Rafael Villar Burke
_______________________________________________
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