The difference between Bar and MenuBar is that "Bar" can mean ToolBar as well - you can share the same definition for both.
Mirek
Thank you very much!
This example and the next one are very useful (please let me suggest to add it in the documentation). Now I can realize all menu I desire.