I want to put some widget in IMGUI to be not usable or greyed out under certain condition. is that feasible?
for example, let’s assume I have a global ON/OFF switch. If that switch is on OFF, I want all the the sub check boxes to be visible but greyed out and not usable….
What Sebescudie said. Also, pro tipp: Make yourself process nodes for all the common UI elements you use with ImGui. Then you can add all these options to it and re-use it everywhere. Like mentioned above I wrapped the slider in a disabled region to be able to disable it easily if I need:
can’t find it even in Advanced mode…
Disable Region is not showing up for me. I got Disable node but it’s not a region
is it from a specific package? (using gamma 7.0)
I am thinking : could it be replace by a IF region? (it wouldn’t be greyed out tho)
Thanks @seltzdesign
I could use the visibility option indeed
I am not in the stage of the customization yet… (I have to get my hands dirty) but that’s and interesting option
for now, I am connecting the backend to the frontend
I will try this week!
@sebescudie@seltzdesign
oh my goodness… Disabled Region is THE thing I was looking for
now that I am getting used to ImgUI, it works well….
thank you <3