OK, Eric.
As per your request, I put hereunder what I want "with a menu inside"
I have set twice the same Plot function in both items of the menu for simplification.
Here is the menu:
simulatingSytemsMenu = ActionMenu[
"Systems",
{
"SystemModelSimulate" :>
NotebookWrite[SelectedNotebook[],
Cell[{ToBoxes[Plot[Sin[x], {x, 0, 6 Pi}]]}, "Output"]],
"SysteModelPlot" :>
NotebookWrite[SelectedNotebook[],
Cell[{ToBoxes[Plot[Sin[x], {x, 0, 6 Pi}]]}, "Output"]]
}
]
And here is the Dataset with the menu being active:
Dataset[
Association[
"Modeling" -> modeling,
"Simulating" -> Dataset[simulatingSytemsMenu],
"Governing" -> governing
]
]
The reason I put a second Dataset inside "Simulating" is that if you do not put this second Dataset you get "three points" in the element instead of the menu (which is another mystery...)
Dataset[
Association[
"Modeling" -> modeling,
"Simulating" -> simulatingSytemsMenu,
"Governing" -> governing
]
]
Regards.
Gianni