You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/terryjreedy'closed_at=Nonecreated_at=<Date2015-09-08.17:22:33.304>labels= ['expert-IDLE', 'type-feature', '3.10']
title='IDLE - same menubar across application'updated_at=<Date2020-06-07.22:06:49.636>user='https://github.com/roseman'
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:
Easier to use, especially for systems that share a single menubar visually across the top of screen.
Later on we'll likely have situations where shell and one or more editors are part of the same toplevel window.
Implementation Notes:
Tk lets you reuse the same menubar across multiple toplevel windows (it actually creates a 'clone' every time it gets attached to the window).
This will simplify code e.g. for managing help and windows menus, which now have to do the same thing for multiple menubars.
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.
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.
I agree. Better to gray-out inactive items. I believe bar is already somewhat shared on mac. We are working on other changes needed to use tabbed notebooks.
Activity
roseman commentedon Sep 8, 2015
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:
Easier to use, especially for systems that share a single menubar visually across the top of screen.
Later on we'll likely have situations where shell and one or more editors are part of the same toplevel window.
Implementation Notes:
Tk lets you reuse the same menubar across multiple toplevel windows (it actually creates a 'clone' every time it gets attached to the window).
This will simplify code e.g. for managing help and windows menus, which now have to do the same thing for multiple menubars.
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.
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.
terryjreedy commentedon Jun 23, 2017
I agree. Better to gray-out inactive items. I believe bar is already somewhat shared on mac. We are working on other changes needed to use tabbed notebooks.