On Mon, 2009-02-09 at 19:56 -0800, R. Morris wrote: > In my app I'm opening a window for username and password and I need to > close it after a button is pushed. so far my efforts with pushing an > escape key event to the eventqueue, or the simpler > viewer.setDone(true) haven't forced the window to close. it is > important to know that I'm using an osgWidget::WindowManager with this > window. I'm sure there is a simple way of doing this I'm just tapped > out from work. Thanks in advance!
If you're using a custom osgWidget::Window, you need to attach an event callback that responds to whatever and then have the WindowManager remove (or hide) the Window. If you can show me the code, I'd be happy to fix it for you. > -Russ > _______________________________________________ > 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

