Jason wrote:
Hello. I've noticed that whenever I set_model in my treeview it runs
through every row in my generic tree model. At first I thought this
was a fixed height/column width issue but setting fixed height mode
did not fix the problem. Plus I still see this behavior even if I do
not have any columns or cell renderers in my treeview.
Below is an example which I've run with gtk 2.2, 2,4 and 2.6 and seen
the same thing: on_iter_next is called for each row. To keep it
simple I implemented the minimum number of methods required in the
tree model to get the example to run.
Am I doing something wrong in my model? Is this expected behavior?
Running through every row when the model is first loaded is not really
practical with my actual data set.
This is the expected behavior - I believe the treeview builds an
internal representation of the model.
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/