MenuBar separator for top-level items?

Hi,

I’m creating a navigation menubar that should only contain toplevel items.
How can I add separators between the toplevel entries?

I know I can call .addSeparator() on subitems. But how can I separate the main entries?
Thanks