How to use minize method from ofxPanel?

hi,
i’m trying hide a panel of my aplication, (i use ofGui), but i dont see, the method setVisible of ofxPanel, I thought use the minize method, but i dont know the use,

i wait you can help me.

Thanks.

when wanting to use gui.minimizeAll() command you need to use parameter groups, otherwise nothing minimizes.

this is based on the parameterGroupExample

void ofApp::setup(){
	renderer1.setup("renderer1");
	renderer2.setup("renderer2");

	parameters.setName("settings");
	parameters.add(vSync.set("vSync",true));
	parameters.add(renderer1.parameters);
	parameters.add(renderer2.parameters);

    
	gui.setup(parameters);
    gui.minimizeAll();
	
    gui.loadFromFile("settings.xml");

	font.load( OF_TTF_SANS,9,true,true);
	ofEnableAlphaBlending();
}
2 Likes

thanks @stephanschulz.