Here is the code
//Add Menu Items to the Menu
elements.menu_file.add(elements.menu_item_new, "New", 0);
elements.menu_file.addSeparator();
elements.menu_file.add(elements.menu_item_open, "Open", 1);
//Add Menu to the Menu Bar
elements.menu_bar.add(elements.menu_file,"File",0);
I am sure there is something wrong in the code.
The Menu is not displaying properly.
Please, any help?