📋 Metadata

💬 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


🔗 View on Blender Artists