On Tue, Mar 16, 2004 at 06:19:19AM -0600, David G. Mackay wrote: > That's all very good, but if I want to view a parent with 20 columns, > and then a child with 10 distinct columns, then it's going to get pretty > unwieldy.
If each node must have different types in each position, you're going to be using a lot of horizontal space, as in this screenshot: http://classicollect.sourceforge.net/screenshot.png I've since changed the way I represent my nodes so that the same columns are reused for each node. This is possible in the top example because everything is a string, and in the bottom example the node column types at each depth are (str, bool). So I suggest trying to arrange the columns of each node so that the types "line up" or at least overlap. You can then use pixmaps at the beginning of each row to visually distinguish the tree depth (although indentation will help; treeview does not have the connecting lines of the old ctree, though.) I haven't quite decided what to do with column headings, though. 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/
