Indeed, there's currently no way to have the displayed path. It should be a new 
method in liblarch-gtk that get the path for a node, using the TreeModelSort 
function that does that. Bonus point if the function handle the SORT constant 
;-)


----- Message d'origine -----
> 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
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~gtg-contributors
> Post to         : [email protected]
> Unsubscribe : https://launchpad.net/~gtg-contributors
> More help     : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~gtg-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to