controlP5 controlWindow visibility
in
Contributed Library Questions
•
2 years ago
Hello,
I have a problem with the controlP5 controlWindow.
Got a button to show the controlWindow in the main app.
You can open/close it via
But if you press the X Button on the Windows7 Top Bar of this controlWindow, the hide/show button in the main app wont work anymore. Ok, it shows the settings window after a second click but it is empty. So i guess i set the settings window 2 times to hide().
Can i capture the Window-Close-Button - Event of the topbar of the controlWindow?
thanks,
greets
I have a problem with the controlP5 controlWindow.
Got a button to show the controlWindow in the main app.
You can open/close it via
- if(theEvent.controller().name()=="settings") {
- if(theEvent.controller().value() == 1){
controlWindow.show();
}else{
controlWindow.hide();
} - }
But if you press the X Button on the Windows7 Top Bar of this controlWindow, the hide/show button in the main app wont work anymore. Ok, it shows the settings window after a second click but it is empty. So i guess i set the settings window 2 times to hide().
Can i capture the Window-Close-Button - Event of the topbar of the controlWindow?
thanks,
greets
1