I want to write an addon that will add some buttons to the header of certain Editors.
For what I have found, it only seems to be possible to add buttons at the start of the header, before the menu’s, or at the end after the other button options.
For a lot of headers there’s a lot of ‘empty space’ in between the menu and buttons to the right.
It would be nice to being able to add button after the menu options, but it seems this can only be done inside the blender code itself.
It’s not possible to do this. Unless you replace the entire draw function for the header, but that will cause problems when there are Blender side changes to the code.