Menubar not allowed in plugin

Hi, MenuBar is not allowed in plugins? and if it’s so, how can I do to show it anyway?

It’s “allowed”. I’m using it. You can find a previous discussion and some downloadable examples here: