Hello,

I'd like to know how I can get the whole path if I doubleclick on an item of the gtree.
So far, I added a handler and printed the selection:

dblClickTree <- function(h,...) {
        print(svalue(h$obj))
}

gtree(offspring, hasOffspring, icon.FUN = icon.FUN, container=g1, expand=TRUE, handler = dblClickTree)

But I only get the element I've clicked on but not it's parent elements up to the root of the tree.

Can anybody help me to solve this?

Antje

_______________________________________________
R-SIG-GUI mailing list
R-SIG-GUI@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-gui

Reply via email to