Is it possible to add a slider or button at the header area?

Hi,

As mentioned at the title, would it be possible to add a slider of a custom property on header areas which are marked red in the picture?

I saw some other posts that are explaining about adding menus through ’
VIEW3D_MT_editor_menus’ but nothing more…

This page, and other pages on this site, should assist:

It works.

But if someone knows to add sliders or buttons on the second red area which is under “Global” enum button, please reply.

Thanks for your reply thorn.

Take a carefull look into the file scripts\startup\bl_ui\space_view3d.py

If you understood the link from @thorn , you’ll find that all sub_menus are editable as well.