I’m attempting to create an ‘accordion’ style dialog control with rhino python using eto.
A helpful fellow over on eto’s github pointed me in the right direction but I’m not super familiar with c++ (I assume that’s what it was written in)github.com/picoe/Eto

I want to create a dialog that functions like this
So most options/values are hidden unless the button is pressed and then...

Would someone be able to help me recreate it in python for rhino?
I’ve worked a little with eto and Rhino Python but don’t fully understand how the two work together. I have started with the script here.