Commit f5fa057
gh-50409: Modernize tkinter.PanedWindow.paneconfigure()
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 3fa72d5 commit f5fa057
4 files changed
Lines changed: 51 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 | |
|---|---|---|---|
| |||
4895 | 4895 | | |
4896 | 4896 | | |
4897 | 4897 | | |
4898 | | - | |
| 4898 | + | |
4899 | 4899 | | |
4900 | 4900 | | |
4901 | | - | |
| 4901 | + | |
4902 | 4902 | | |
4903 | 4903 | | |
4904 | | - | |
| 4904 | + | |
4905 | 4905 | | |
4906 | 4906 | | |
4907 | 4907 | | |
| |||
4916 | 4916 | | |
4917 | 4917 | | |
4918 | 4918 | | |
| 4919 | + | |
| 4920 | + | |
| 4921 | + | |
| 4922 | + | |
| 4923 | + | |
4919 | 4924 | | |
4920 | 4925 | | |
4921 | 4926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2391 | 2391 | | |
2392 | 2392 | | |
2393 | 2393 | | |
| 2394 | + | |
| 2395 | + | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2394 | 2415 | | |
2395 | 2416 | | |
2396 | 2417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5293 | 5293 | | |
5294 | 5294 | | |
5295 | 5295 | | |
5296 | | - | |
| 5296 | + | |
5297 | 5297 | | |
5298 | 5298 | | |
5299 | 5299 | | |
| |||
5355 | 5355 | | |
5356 | 5356 | | |
5357 | 5357 | | |
| 5358 | + | |
| 5359 | + | |
| 5360 | + | |
| 5361 | + | |
| 5362 | + | |
| 5363 | + | |
| 5364 | + | |
| 5365 | + | |
| 5366 | + | |
| 5367 | + | |
| 5368 | + | |
| 5369 | + | |
| 5370 | + | |
| 5371 | + | |
5358 | 5372 | | |
5359 | | - | |
| 5373 | + | |
5360 | 5374 | | |
5361 | 5375 | | |
5362 | | - | |
5363 | | - | |
| 5376 | + | |
| 5377 | + | |
5364 | 5378 | | |
5365 | 5379 | | |
5366 | 5380 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments