| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| `Practical Programming in Tcl and Tk <http://www.beedub.com/book/>`_ | ||
| Brent Welch's encyclopedic book. | ||
|
|
||
| `TKDocs <http://www.tkdocs.com/>`_ |
There was a problem hiding this comment.
This is about Tkinter, not just Tcl/Tk.
Sorry, something went wrong.
There was a problem hiding this comment.
You mean it's better to show all links together?
Sorry, something went wrong.
There was a problem hiding this comment.
I mean that these two links are in wrong section.
Sorry, something went wrong.
There was a problem hiding this comment.
I can see how TKDocs talks about Tkinter, but does "Practical Programming in Tcl and Tk" talk about Tkinter too?
Sorry, something went wrong.
There was a problem hiding this comment.
The Welch's excellent book is about Tcl/Tk. The Lutz's book is about Python and Tkinter in particular.
Sorry, something went wrong.
There was a problem hiding this comment.
I can see how TKDocs talks about Tkinter (moved the link on the last update of the PR), but can0t see how "Practical Programming in Tcl and Tk" talks about Tkinter. Is that the case or am I not getting you?
Sorry, something went wrong.
| `TKDocs <http://www.tkdocs.com/>`_ | ||
| Extensive tutorial plus friendlier widget pages for some of the widgets. | ||
|
|
||
| `Programming Python <http://learning-python.com/about-pp4e.html>`_ |
There was a problem hiding this comment.
This is not Tcl/Tk documentation.
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry, it slipped.
Sorry, something went wrong.
There was a problem hiding this comment.
Some links was reordered in the first section. "Programming Python" and "TKDocs" was moved to the end. Is this for purpose?
Sorry, something went wrong.
|
@serhiy-storchaka Sorry, no, the change of the order was unintentional. I have reverted it in the last commit. |
Sorry, something went wrong.
There was a problem hiding this comment.
I tested the new link and it does not do the job needed. It goes to the wrong place for tkinter users looking for documentation of tk/tkinter widgets. The same was true for the two links replaced. They required just one click instead of two to get to the right place, but had disadvantages, so the new link should be kept, but as a secondary addition.
Since there is no generic 8.x Tk commands (widgets) page, the best we can do for tk widget docs is to link the most likely 8.x page (8.6 for now), and tell users to change '6' for the corresponding page for other tk versions. I use this page constantly along with the NMT 8.5 tkinter reference.
Sorry, something went wrong.
| Running ``python -m tkinter`` from the command line should open a window | ||
| demonstrating a simple Tk interface, letting you know that :mod:`tkinter` is | ||
| properly installed on your system, and also showing what version of Tcl/Tk is | ||
| installed, so you can read the Tcl/Tk documentation specific to that version. |
There was a problem hiding this comment.
Separate paragraph is improvement.
Sorry, something went wrong.
| .. seealso:: | ||
|
|
||
| Tkinter documentation: | ||
|
|
There was a problem hiding this comment.
I like the separate paragraph for testing, and the separation of tkinter versus tk docs. Some of the descriptions could be updated, but lets make that a separate issue.
Sorry, something went wrong.
| Tcl/Tk documentation: | ||
|
|
||
| `Tcl/Tk recent man pages <https://www.tcl.tk/doc/>`_ | ||
| Recent Tcl/Tk manuals on www.tcl.tk. |
There was a problem hiding this comment.
This is the heart of the issue. I see two deficiencies wtih the link above.
Tk Commands
The additional commands which the wish interpreter implements.
I was initially confused because I did not know until now that there are two tcl shell/interpreters and that tkinter is implementing the wish add-ons, and not core tcl/tk, or perhaps the following.
Tk Library
The additional C functions which a Tk extended C program may use.
So I strongly suggest adding at the top what 99% of users of this section need to read.
Tk commands <https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm> Commands without '__' in their name correspond to tkinter and ttk widget classes. Change '6' to '4', '5', or '7' for the corresponding tk/tkinter versions.
Sorry, something went wrong.
There was a problem hiding this comment.
I agree. Since we are bundling 8.6 it does make sense to make it the default link, while pointing out how to get to the other versions too.
Sorry, something went wrong.
There was a problem hiding this comment.
Oh, I missed that @andresdelfino moved one level up. The link to the default Tcl/Tk manual is https://www.tcl.tk/man/tcl/.
I think this link is for more advanced users, and for beginners the link to effbot.org and similar resources is more preferable. Maybe we should copy the content from external resources.
Sorry, something went wrong.
There was a problem hiding this comment.
If you are saying that our doc should include a tk widget reference, I agree. Another issue.
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
|
I have made the requested changes; please review again |
Sorry, something went wrong.
|
Thanks for making the requested changes! @terryjreedy, @serhiy-storchaka: please review the changes made to this pull request. |
Sorry, something went wrong.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request. |
Sorry, something went wrong.
|
I didn't expect the Spanish Inquisition :) |
Sorry, something went wrong.
|
Nobody expects the Spanish Inquisition! @terryjreedy, @serhiy-storchaka: please review the changes made to this pull request. |
Sorry, something went wrong.
|
Sorry, I followed bedevere's instructions because I didn't see @terryjreedy approval. |
Sorry, something went wrong.
|
Thanks @andresdelfino for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6, 3.7. |
Sorry, something went wrong.
|
Sorry, @andresdelfino and @serhiy-storchaka, I could not cleanly backport this to 3.6 due to a conflict. |
Sorry, something went wrong.
(cherry picked from commit 67a8f4f) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
|
GH-6600 is a backport of this pull request to the 3.7 branch. |
Sorry, something went wrong.
|
Sorry, @andresdelfino and @serhiy-storchaka, I could not cleanly backport this to 2.7 due to a conflict. |
Sorry, something went wrong.
|
GH-6602 is a backport of this pull request to the 3.6 branch. |
Sorry, something went wrong.
|
GH-6603 is a backport of this pull request to the 2.7 branch. |
Sorry, something went wrong.
|
GH-6607 is a backport of this pull request to the 2.7 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
https://bugs.python.org/issue33280