Opening Mac native menu bar from function

I’m just wondering if there is any function similar to MenuBarComponent::showMenu() for native Mac menu bars?

If not, is there another way of opening these menus without a user clicking on them?

I don’t think there’s equivalent functionality available for the native menu. Do you know any any other software doing this?

So if you have a copy of Reaper, and open the help menu tab and type ‘routing’. Hovering over the routing matrix menu item opens the view menu and highlights the routing matrix item. Perhaps this functionality is only available through a specialised help menu?