On Fri, 2011-08-19 at 16:36 +0200, Daniel Cámpora wrote: > Hello :), > > I'm working my way on osgWidgets, and I have come into using callbacks for > them. > > The way for adding callbacks on them is by means of the method > "osgWidget::EventInterface::addCallback", but I didn't find any way to remove > a callback after it's been added. > > After reading some code definitions, I found out callbacks are stored in a > std::list, and they are defined in the private scope, so therefore I have > virtually no way of sorting this out. > > Is there any workaround for this?
This is simply an oversight. Submit a patch for this and I'm certain it will be accepted. > Thank you! > > Cheers, > Daniel > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=42135#42135 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

