Hey,
thats a bit tricky because usually the virtual tree is totally model based. But 
there is a trick you can use:

virtualTree.getPane().getLayers()[0].getChildren().forEach(function(child) {
if (child.hasState("selected")) {
// thats your widget
};
})

As you see, you need to rely on some more or less internals. This might be 
worth a bug because your described use case is totally valid.
Regards,
Martin


Am 08.09.2012 um 15:05 schrieb rsantiagopaz 
<[email protected]<mailto:[email protected]>>:


Hi. sorry my english

Im working with qx.ui.tree.VirtualTree. And I need open a popup relative to
a node, with popup.placeToWidget(node, false);. How can I get the selected
node widget?
(or with placeToElement or placeToPoint, but how?)

thanks



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/question-about-popup-and-qx-ui-tree-VirtualTree-tp7581282.html
Sent from the qooxdoo mailing list archive at Nabble.com<http://Nabble.com>.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to