Closed trin5tensa closed 1 year ago
8/3/2023: Final cleanup and commit. 8/2/2023: Tests completed. PyCharm(?) generated ghost keywords noticed in parent_protocol and create command. They appear harmless and are possibly intended to supply keywords which PyCharm believes are missing. 7/25/2023: MainWIndow.__post_init__ tests rewritten using Brian Okken's guidelines. 7/24/2023: Menus finalized. Help menu removed. Undo and redo items removed from edit menu. There is no way to replace 'Python' with 'Moviedb' as the application menu item. There is also no way to replace the 'Settings…' label which looks as though it is settings for Python. Nor is it possible to replace the '⌘,' accelerator key. 7/22/2023: 1st pass completed. A refactoring went wrong and may have damaged some files. Many tests are failing and the problems need to be resolved before committing the changes. Fixed. 7/17.2023: Apple menu instructions do not work as documented in TkDocs. Flaws in handling of application name found and noted as todo's. 7/15/2023: Started.
Menu virtual events.
Tk predefines the following virtual events:
<<Clear>>, <<Copy>>, <<Cut>>, <<Paste>>, <<PasteSelection>>, <<PrevWindow>>, <<Redo>>, and <<Undo>>.
For additional information, see the event command reference.
Make menus compliant with apple guidelines as described in TKDocs Platform Menus | macOS. https://tkdocs.com/tutorial/menus.html