controlP5 change frame visibility with a button
in
Contributed Library Questions
•
6 months ago
I'm new to processing and trying to create a GUI interface using controlP5. So far it's been really useful but I'm stuck with this problem.
I'm trying to create a "main menu" of sorts with buttons linking to other frames. I was able to make a separate frame with this example (
http://www.sojamo.de/libraries/controlP5/examples/extra/ControlP5frame/ControlP5frame.pde) but I want to be able to change visibility of it. I see the line f.setVisible(true); but I'm not sure how to change that with a button that's on the original frame. Mostly, I'm not really sure how the controlEvents work between the main window and the PApplet control frame.
I feel like the answer is really obvious but I can't seem to find it...
1