Hi Ankita,

Have you tried  GraphicsWindow::setWindowName("My First Scene") on the
viewers GraphicsWindows, or pass in the window name via
GraphicsContext::Traits::windowName if you are creating the windows
yourself.  To get the viewers graphics windows you can use
viewer.getWindows(..) method that is defined in
include/osgViewer/ViewerBase.

Robert.

On Wed, Dec 2, 2009 at 7:33 AM, Ankita Chauhan <[email protected]> wrote:
> Hi all,
>
> I have rendered a scene using osgViewer in Windows XP...
> I want to name this viewer window (e.g. I want to give this window the name 
> of the file which is being rendered in this viewer or simply any text like 
> "MY First Scene").
> Can anybody please help me in this regard..
> Thank you in advance!
>
> Cheers,
> Ankita
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=20725#20725
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to