Thought I'd share my lazy tree implementation.  The idea is that child rows
in a tree are not filled in until the user clicks on the expander for that
row.  Until then, an single unset row is used as a placeholder for the the
child rows.

http://members.cox.net/davecook/pygtk/LazyTreeStore.py

To use it, you need to structure your tree data as nodes with getChildren()
and hasChild() methods.  An example is show for browsing a filesystem.

Dave Cook
_______________________________________________
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