Window minimizing event?

Can Panda3D know when the main window is minimized or maximized?

In a DirectObject or class inheriting from DirectObject you can catch window-event, which lets you know when one of the window properties has changed. One of the window properties you can query is “minimized”.

Thank you rdb.

Where can I find the list of properties? I tried looking the list up before asking here but I’m definitely not looking in the right place.

https://docs.panda3d.org/1.10/python/reference/panda3d.core.WindowProperties

1 Like