I'm trying to find out how to add a checkbox to a panel header so panel can be deacivated (as well as storing that checkbox value in some property). It may be quite obious task, but I didn't find any info about it in the docs so far.
Example of what I'm trying to achive is the "Gravity" panel, that can be turned off with the checkbox.
Any suggestions or leads? I would be grateful for any code examples with it.