Title: gh-153550: Modernize the older prose sections of the tkinter documentation by serhiy-storchaka · Pull Request #153647 · python/cpython · GitHub
Open Graph Title: gh-153550: Modernize the older prose sections of the tkinter documentation by serhiy-storchaka · Pull Request #153647 · python/cpython
X Title: gh-153550: Modernize the older prose sections of the tkinter documentation by serhiy-storchaka · Pull Request #153647 · python/cpython
Description: Follow-up of gh-86726, closing gh-153550. The tkinter reference sections were overhauled in gh-86726 and #153549, but the narrative prose preceding them — Tkinter life preserver and Handy reference in Doc/library/tkinter.rst, plus the tkinter.ttk front matter — still read like a late-1990s tutorial. This is an editorial pass to match. No API changes. tkinter.rst Replace The packer with a general Geometry management section covering grid, pack and place, with an example and use case for each, grid as the default, and a warning against mixing pack and grid in one container. Rework The window manager and Coupling widget variables: modern Tk()/ttk examples instead of the dated App(Frame) idiom, and correct explanations (e.g. a widget links to a Variable because Python can't notify Tk when a plain variable is reassigned). Drop the Ousterhout page-number citations for the relevant Tk man pages; reconcile the Packer options and Tk option data types lists with the reference; fill in the empty Entry-index list; point classic examples at the ttk widgets. tkinter.ttk.rst Lead the intro with the native-theme benefit; fix the TIP 48 link; recommend the explicit from tkinter import ttk form; refresh the theme-engine links (ttk::intro + the illustrated Tile Widget Set paper); add cross-references to tkinter.rst. tkinter.dnd.rst Fix the malformed target-selection list and mark up source/event as parameters. Docs-only; no Misc/NEWS.d entry.
Open Graph Description: Follow-up of gh-86726, closing gh-153550. The tkinter reference sections were overhauled in gh-86726 and #153549, but the narrative prose preceding them — Tkinter life preserver and Handy reference...
X Description: Follow-up of gh-86726, closing gh-153550. The tkinter reference sections were overhauled in gh-86726 and #153549, but the narrative prose preceding them — Tkinter life preserver and Handy reference...
Opengraph URL: https://github.com/python/cpython/pull/153647
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:85f876d3-633a-ad25-445a-b63bf7169857 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 83F8:3D0DAC:75C45F:AAAEA0:6A55EB99 |
| html-safe-nonce | e621255a5e5db3efd68ac79fa9a2babbc23f98b3747e59ab7e0dfe523b0a5d15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0Y4OjNEMERBQzo3NUM0NUY6QUFBRUEwOjZBNTVFQjk5IiwidmlzaXRvcl9pZCI6IjYwNDk0OTY1ODcwODg2Mzg5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e7fa2b1bb45b9c32a43b2bbc6e6e29ed0703a8a9590bd3479598d23befa8736 |
| hovercard-subject-tag | pull_request:4042488663 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/153647/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | Follow-up of gh-86726, closing gh-153550. The tkinter reference sections were overhauled in gh-86726 and #153549, but the narrative prose preceding them — Tkinter life preserver and Handy reference... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3725c7f9b2a6e3a27ef57c5aed13428c0f65e045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width