Create a menu item object. The arguments are the menu to create, the item item title string and optionally the keyboard shortcut and a callback routine. Instead of a callable object the callback can also be a string. In this case menu selection causes the lookup of a method in the topmost window and the application. The menu object is returned.
Parent is the application object to which the window belongs.
The window is not displayed until later. The window will be staggered with respect to previous windows, and an attempt is made to keep the whole window on-screen. However, the window will however always be the exact size given, so parts may be offscreen. Set the mouse cursor to a watch.