📋 Metadata
- Author: roaoao
- Date: 2019-10-05 03:50:58
- Type:
answer - Reply to: post_02808
💬 Content
Pinhead:
It is possible to have different topbar menus in different tabs (Layout, Sculpting, Shading ect…)?
Yes, use 1 button in the topbar with this code (Custom tab):
Blender 2.8+:
draw_menu(C.workspace.name) or draw_menu("Default Topbar")
Blender 2.7:
draw_menu(C.screen.name) or draw_menu("Default Topbar")
And add new popup dialogs with tab names (Layout, Sculpting, Shading…) and Default Topbar popup dialog for other tabs.
❤️ 2 likes