How to close Panda3D in fullscreen mode?

I’m just learning to use Panda3D and Python. And I’m slowly working my way through the tutorials.

I’d like to set Panda to run in fullscreen mode (in Config.prc). But I’m just a little bit worried about how to close the window/program when I can no longer click on the X in the top right corner.

Is there some way to exit the program without having to use self.accept(“escape”, sys.exit) in every script or resort to using Ctrl + Alt + Delete?


you can always press alt-F4, that works for every program on windows.

Thanks Yellow, I didn’t know if that would work. As I said, I’m very new to all this. Glad there’s a simple solution.

Thanks again

Yellow, you are right when you think about all normal programs on common Windows Plattforms. Talking about NT4: I have at least one program that is laughing about ALT-F4 there… - just doing (exactly) nothing.

Not sure if its program or OS related that ALT-F4 does work or not - ALT-F4 for shutting the machine down doesn’t work as well there…

Regards, Bigfoot29