Showing/Hiding Windows

If I create some additional windows using

for(int i = 0; i < NUMBER_OF_SOURCES; i++) {
		occlusionWindowArray[i] = framework.open_window();

how do I show/hide these windows?

Actually, I don’t believe Panda currently provides an interface to show/hide existing windows. You will have to destroy them and recreate them (or make them really small).


How do I close/destroy an open window?

I’ve tried:


however the method is protected.

Use framework->close_window(texWindow).


Thanks, that worked.