Window minimize, maximize / resizable

Hi there,

Yes, i’m another ‘new’ (newbe) panda3d user and i have a question regarding the window.

I want to remove the minimize/maximize buttons from the application window.

Is this possible? I dont want the (main) window to be resizable at all. I search around in the docs and used google but i couldnt find anything.

Thank you!

Hi Nique! The only way I know how to do this is to have panda running full screen. You can do this with the following python code at the very very beginning of your program.

from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "fullscreen 1") … _a_Program
and … _Variables


Just saw on our forums you are trying to make a splash screen. See this:

However, I personally hate splash screens because they always seem to cover up what I am working on. Yet it remains a popular convention, such is life.

You can use WindowProperties.setFixedSize to set a fixed size for your window, and the “undecorated” option / config var to entirely remove the window bar.

Hi there,

(Croxis, i’m just playing around with panda right now, doesn’t mean we have to do this…)

Thanks for your replies.

ps. is there also a way to set the ‘icon image’ for the window?

Yeah, using the “icon-filename” config option. More info in this thread: