The above image is what I have created so far, still prototyping, just got started scripting within Blender
Would like to be able to collapse each box, which contains light properties, like the image below (from Luxcore). Does Blender have this option or do I have to build it from scratch?
I have looked through the code, but can't seem to make sense of it...

