Ofxgui toggle interplay


I’m experimenting with ofxGui for the first time, using the parameters example.

Is there a simple/built in way to set a group of toggle booleans as interdependent? i.e. given four toggles, A,B,C,D, if any one is switched from on to off, all others are switched to off?


there’s nothing like that yet. you can set it up manually using listeners for each toggle which sets off the rest when one it’s turn on. also ofxGuiExtended is based on ofxGui and has toggle lists:

thanks! I think I might take a look at ofxDatGui instead, it looks quite flexible