Hi,
osgWidget::Window is Transform and osgWidget::Widget is Drawable.
Window uses private variable _geode, that will append to itself. All Widgets 
are stored there. Problem is that Window doesnt have interface for accessing 
DrawableList of _geode or index accessing of Widgets.
Solutions are really painful, either implementing these kind of functions or 
use Window::getGeode(), find your Widget from DrawableList and then call 
Window::removeWidget. Basic knowledge about inheritance and RTTI (dynamic_cast) 
is very useful, btw.

Cheers,
Filip

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43766#43766





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to