gh-143754: Modernize Tkinter docs#143841
Conversation
Use more up to date terminology instead of "master"/"slave" widgets where it is possible.
|
I used the modern Tk documentation to update the Tkinter documentation. |
| width=amount - width of this widget in pixel | ||
| height=amount - height of this widget in pixel |
There was a problem hiding this comment.
| width=amount - width of this widget in pixel | |
| height=amount - height of this widget in pixel | |
| width=amount - width of this widget in pixels | |
| height=amount - height of this widget in pixels |
There was a problem hiding this comment.
There are other occurrences of "in pixel" in other places, so I think it is better to fix them in a separate PR.
There was a problem hiding this comment.
And, the Tk documentation says "in screen units", because not only pixels are supported. You can use millimeters or inches, etc.
terryjreedy
left a comment
There was a problem hiding this comment.
approved except for pluralizing 'pixel'.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Use more relevant terminology instead of "master"/"slave" widgets where possible. (cherry picked from commit 813fc7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Use more relevant terminology instead of "master"/"slave" widgets where possible. (cherry picked from commit 813fc7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-144032 is a backport of this pull request to the 3.14 branch. |
|
GH-144033 is a backport of this pull request to the 3.13 branch. |
|
Nice change, thanks. |
|
|
Use more up to date terminology instead of "master"/"slave" widgets where it is possible.
tkintersource and docs use the word 'slave' #143754📚 Documentation preview 📚: https://cpython-previews--143841.org.readthedocs.build/