Function EditorPlugin.addToolSubmenuItem

Adds a custom submenu under Project > Tools > name. submenu should be an object of class PopupMenu. This submenu should be cleaned up using remove_tool_menu_item(name).

void addToolSubmenuItem (
  const(String) name,
  GodotObject submenu
) nothrow @nogc;