I would like to modify the addToMenu function thats possible to create a ValueTree, that has the same structure like the generated Menu.
I need that to create a Pluginselector TreeView or for various other menus other then PopupMenus.
My Plan is first to create a:
and the use this inside the addToMenu(…) function (to avoid duplication of code).
Jules, if i write this createSortedPluginValueTree()-method would you insert it into the KnownPluginList class? or do you have better suggestions?