Creates and returns the menus for the top menu bar. The format is an array of menu elements. Each menu element is an object with a "label", unique "id" and an "entries" array. entries is an array of arrays of size two. entries[i][0] is either a link as a string (will be opened on another tab) or a function that will be executed. entries[i][1] is a label as a string. entries[i][2] is an i18 id. entries[i][3] is an optional hotkey. *
the array of menu elements.
Static
aboutStatic
close
Populates the menu bar on the top and initializes the context menu.