gtg-contributors team mailing list archive
-
gtg-contributors team
-
Mailing list archive
-
Message #00466
how to get path for node in active treeview
Hello,
I was trying to solve bug https://bugs.edge.launchpad.net/gtg/+bug/615029 .
Question: Having a task (so, a TreeNode), how can i get its path in
the active treeview? self.activetree.get_paths_for_node(tid),
self.vtree_panes['active'].treemodel and the "node-added-inview"
signals all spit out the same path, which is always increasing as
tasks are added.
It seems that that path is the path in the unsorted tree, but then we
apply a TreeModelSort. So, how to get the
actually-displayed-on-my-monitor path?
Thanks,
Luca
Follow ups