This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author markroseman
Recipients kbk, markroseman, roger.serwy, terry.reedy
Date 2015-09-08.17:22:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441732953.33.0.194435848116.issue25032@psf.upfronthosting.co.za>
In-reply-to
Content
Right now the menubar is slightly different for the shell (has Debug) and the editor windows (has Format and Run). I'd like to suggest the same menubar be used for all windows.

Rationale:

1. Easier to use, especially for systems that share a single menubar visually across the top of screen.

2. Later on we'll likely have situations where shell and one or more editors are part of the same toplevel window.


Implementation Notes:

1. Tk lets you reuse the same menubar across multiple toplevel windows (it actually creates a 'clone' every time it gets attached to the window).

2. This will simplify code e.g. for managing help and windows menus, which now have to do the same thing for multiple menubars.

3. Using tabbed windows, while it's possible to swap the menubar on the fly as you swap windows, it's not necessarily desirable to do so.

4. I've mocked up a system for menu validation/dispatch that will simplify how menu commands are handled now depending on what window is in front, and makes it easier to ensure the right things are enabled/disabled based on context.
History
Date User Action Args
2015-09-08 17:22:33markrosemansetrecipients: + markroseman, terry.reedy, kbk, roger.serwy
2015-09-08 17:22:33markrosemansetmessageid: <1441732953.33.0.194435848116.issue25032@psf.upfronthosting.co.za>
2015-09-08 17:22:33markrosemanlinkissue25032 messages
2015-09-08 17:22:32markrosemancreate