[pygtk] GtkCTree.node_nth bug

1999-12-13 Thread John Ehresman
The following causes a seg fault because it attempts to reference a CTree node which does not exist: >>> import gtk >>> tree = gtk.GtkCTree() >>> n = tree.node_nth(10) >>> print n.parent Looking at the source, it appears that the C api function returns NULL in this case, but this pointer is pa

[pygtk] How do I get the row count from a CList/CTree?

1999-12-13 Thread John Ehresman
Is there any method or attribute that will return the # of rows of data in a CList (and CTree by extension)? Thanks, John To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]