How to add a Tap to Properties window header?

Hi Blender Community,
I want to add a new “Tab” ind the Properties Window Header.[ATTACH=CONFIG]393994[/ATTACH]
I have been searching for a way to do that for hours and didnt find anything useful. Is it even Possible?

I want to add a Tab for my Bake addon to keep everything more organized.

Code examples would be useful

If you have any Questions feel free to ask.



menu is your def menu or change to menu_func depending what you use.

An actual new tab can’t be added, it is handled by C code.