the CTree does not work as expected, because the
identity of its subnodes (CTreeNode's) changes
def testEquals(ctree, row)
gtknode1 = ctree.node_nth(row)
gtknode2 = ctree.node_nth(row)
assert(gtknode1 == gtknode2)
will raise an exception.
This is pretty uncomfortable, because the whole
model has to be mirrored, to know which item is meant
by a specific row.
The generated wrapper for CTreeNode's, should
implement the == operator to be able to work with
Hashes and Arrays.
Log in to post a comment.