Hello,

I have one more question on the use of the treeview with a listStore model.
When I want to append a big amount of rows, for instance 100, the appeend
method it is extremely slow inside a loop..

I tried to use this code:

*treeview.freeze_child_notify()
treeview.set_model(None)

# Add rows to the model
# ...

treeview.set_model(model)
treeview.thaw_child_notify()
*

from taken from this page:
http://faq.pygtk.org/index.py?req=show&file=faq13.043.htp
but it's still slow!

Is there any other technique that may can help me?
Another widget instead of treeview maybe?
I just only want to have a list with rows that I can
make some actions by double clicking on them.

Thank you in advance,
Thanasis
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to