📋 Metadata
- Author: roaoao
- Date: 2018-07-29 17:02:01
- Type:
answer - Reply to: post_01512
💬 Content
bitinn:
if there is already a built-in menu, for example,
INFO_MT_add, can I somehow load it as a hover menu?I only managed to get
bpy.ops.wm.call_menu(name='INFO_MT_add')work, which of course open another menu instead of making it a submenu.
Use menu() function in Custom tab, eg:
L.menu('INFO_MT_add', text=slot, icon=icon, icon_value=icon_value)
❤️ 1 likes