Commit 93128f5
pythongh-50409: Modernize tkinter.PanedWindow.paneconfigure() (pythonGH-152399)
Rename the first parameter of paneconfigure() (and its paneconfig alias)
from 'tagOrId' to 'child', for consistency with add(), remove() and
panecget() -- PanedWindow panes are child widgets, not tagged items. The
old 'tagOrId' keyword still works but raises DeprecationWarning.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent f212f21 commit 93128f5
4 files changed
Lines changed: 50 additions & 7 deletions
File tree
- Doc/library
- Lib
- test/test_tkinter
- tkinter
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4938 | 4938 | | |
4939 | 4939 | | |
4940 | 4940 | | |
4941 | | - | |
| 4941 | + | |
4942 | 4942 | | |
4943 | 4943 | | |
4944 | | - | |
| 4944 | + | |
4945 | 4945 | | |
4946 | 4946 | | |
4947 | | - | |
| 4947 | + | |
4948 | 4948 | | |
4949 | 4949 | | |
4950 | 4950 | | |
| |||
4959 | 4959 | | |
4960 | 4960 | | |
4961 | 4961 | | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
4962 | 4966 | | |
4963 | 4967 | | |
4964 | 4968 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
2407 | 2428 | | |
2408 | 2429 | | |
2409 | 2430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5345 | 5345 | | |
5346 | 5346 | | |
5347 | 5347 | | |
5348 | | - | |
| 5348 | + | |
5349 | 5349 | | |
5350 | 5350 | | |
5351 | 5351 | | |
| |||
5407 | 5407 | | |
5408 | 5408 | | |
5409 | 5409 | | |
| 5410 | + | |
| 5411 | + | |
| 5412 | + | |
| 5413 | + | |
| 5414 | + | |
| 5415 | + | |
| 5416 | + | |
| 5417 | + | |
| 5418 | + | |
| 5419 | + | |
| 5420 | + | |
| 5421 | + | |
| 5422 | + | |
| 5423 | + | |
5410 | 5424 | | |
5411 | | - | |
| 5425 | + | |
5412 | 5426 | | |
5413 | 5427 | | |
5414 | | - | |
5415 | | - | |
| 5428 | + | |
| 5429 | + | |
5416 | 5430 | | |
5417 | 5431 | | |
5418 | 5432 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments