Hey,
Is there a way to change the window title of the Panda Window?
Thanks,
pro-rsoft.
Hey,
Is there a way to change the window title of the Panda Window?
Thanks,
pro-rsoft.
Yes, there is:
from pandac.PandaModules import WindowProperties
props = WindowProperties( )
props.setTitle( 'My window' )
base.win.requestProperties( props )
enn0x
Thanks!
I’ll try it this week. (I formatted my PC so it takes a while to install everything, including panda )
Also … edit your C:\Panda3D-1.3.2\etc\Config.prc and add a line like this:
window-title My Title Goes Here
Doing it in the etc\Config.prc file will change the default window title for all Panda3D apps. You can override this on a per-project basis by having another .prc file loaded at runtime or by the code above.
Is there also a way to change the window’s icon?
I think there is in windows but not in linux. I think I saw this in another thread a while back. Try searching the forums … I will too …
Here is one way to do it … can’t find the thread that discusses it not working in linux.
Thank you for the quick reply.
However, it doesn’t work. I still get the default X icon.
Linux? If so I think you are outta luck …
Maybe a nice feature for Panda3D 1.4.0?