Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turtledemo: add root arg to PanedWindow call #111092

Closed
terryjreedy opened this issue Oct 20, 2023 · 0 comments
Closed

turtledemo: add root arg to PanedWindow call #111092

terryjreedy opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

terryjreedy commented Oct 20, 2023

import tkinter as tk
tk._support_default_root=False
from turtledemo.__main__ import main
main()

currently fails at line 165: pane = PanedWindow(orient=HORIZONTAL, ... with RuntimeError: No master specified and tkinter is configured to not support default root. Since all other widget calls include a master argument, adding 'root' here fixes the failure.

Linked PRs

@terryjreedy terryjreedy self-assigned this Oct 20, 2023
@terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error stdlib Python modules in the Lib dir labels Oct 20, 2023
terryjreedy added a commit to terryjreedy/cpython that referenced this issue Oct 20, 2023
Add missing 'root' argument to PanedWindo call.  Other root
children already have it.
terryjreedy added a commit that referenced this issue Oct 20, 2023
Add missing 'root' argument to PanedWindow call.
Other root children already have it.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 20, 2023
…thonGH-111093)

Add missing 'root' argument to PanedWindow call.
Other root children already have it.
(cherry picked from commit b802882)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 20, 2023
…thonGH-111093)

Add missing 'root' argument to PanedWindow call.
Other root children already have it.
(cherry picked from commit b802882)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy added a commit that referenced this issue Oct 20, 2023
…H-111093) (#111095)

gh-111092: Make turtledemo run without default root enabled (GH-111093)

Add missing 'root' argument to PanedWindow call.
Other root children already have it.
(cherry picked from commit b802882)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy added a commit that referenced this issue Oct 20, 2023
…H-111093) (#111096)

gh-111092: Make turtledemo run without default root enabled (GH-111093)

Add missing 'root' argument to PanedWindow call.
Other root children already have it.
(cherry picked from commit b802882)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
…thon#111093)

Add missing 'root' argument to PanedWindow call.
Other root children already have it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant