Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-33479: Tkinter docs #7287

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
79b195a
* Reduce the index page to a summary like the other ones
native-api May 19, 2018
6338ba1
* move seealso to the bottom
native-api May 19, 2018
02f712e
more 0. intro
native-api May 19, 2018
e68e136
https://bugs.python.org/issue33479#msg316492 1. Architecture.
native-api May 19, 2018
1de7f35
1. Architecture -- Tkinter modules
native-api May 20, 2018
6a7f4e8
2. Threading model
native-api May 22, 2018
c8f3bca
start documenting contents
native-api May 24, 2018
6cdcb9e
* queue is per-thread
native-api May 25, 2018
35521e8
update Tcl/Tk resource URLs and verbiage
roseman May 30, 2018
77c674b
small rewording/reorganization of architecture and modules sections
roseman May 30, 2018
61c23d2
rewrite threading model section to separate normal use from potential…
roseman May 30, 2018
5a80739
https://github.com/python/cpython/pull/7287#discussion_r192545213
native-api Jun 3, 2018
77b711e
https://github.com/python/cpython/pull/7287#discussion_r192545445
native-api Jun 3, 2018
9a5b0e8
Merge pull request #1 from native-api/roseman_1
roseman Jun 3, 2018
8bf32fd
Merge pull request #2 from native-api/roseman_2
roseman Jun 3, 2018
c11080d
https://github.com/python/cpython/pull/7287#discussion_r192545697
native-api Jun 3, 2018
d270dab
mention Tix as it adds more complexity to the architecture
native-api Jun 3, 2018
0bd73e2
spec
native-api Jun 3, 2018
e8d124a
https://github.com/python/cpython/pull/7287#discussion_r192545744
native-api Jun 3, 2018
0961c38
https://github.com/python/cpython/pull/7287#discussion_r192545829
native-api Jun 3, 2018
f91ff5d
more specific
native-api Jun 3, 2018
4b9152e
https://github.com/python/cpython/pull/7287#discussion_r192545899
native-api Jun 3, 2018
7281922
https://github.com/python/cpython/pull/7287#discussion_r192545996
native-api Jun 3, 2018
7fdbef3
https://github.com/python/cpython/pull/7287#discussion_r192546347
native-api Jun 3, 2018
4f5218c
plural releases
roseman Jun 3, 2018
b53bab2
Merge pull request #3 from native-api/roseman_3
roseman Jun 3, 2018
89364bb
Merge pull request #4 from native-api/roseman_4
roseman Jun 3, 2018
fbf276f
Merge pull request #5 from native-api/roseman_5
roseman Jun 3, 2018
37ef774
Merge pull request #6 from native-api/roseman_6
roseman Jun 3, 2018
7551744
Merge pull request #7 from native-api/roseman_7
roseman Jun 3, 2018
71a934d
put back 'older' for tix
roseman Jun 3, 2018
eb6623d
Merge pull request #9 from native-api/roseman_9
roseman Jun 3, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions Doc/library/tk.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,8 @@ Graphical User Interfaces with Tk
single: Tkinter
single: Tk

Tk/Tcl has long been an integral part of Python. It provides a robust and
platform independent windowing toolkit, that is available to Python programmers
using the :mod:`tkinter` package, and its extension, the :mod:`tkinter.tix` and
the :mod:`tkinter.ttk` modules.

The :mod:`tkinter` package is a thin object-oriented layer on top of Tcl/Tk. To
use :mod:`tkinter`, you don't need to write Tcl code, but you will need to
consult the Tk documentation, and occasionally the Tcl documentation.
:mod:`tkinter` is a set of wrappers that implement the Tk widgets as Python
classes. In addition, the internal module :mod:`_tkinter` provides a threadsafe
mechanism which allows Python and Tcl to interact.

:mod:`tkinter`'s chief virtues are that it is fast, and that it usually comes
bundled with Python. Although its standard documentation is weak, good
material is available, which includes: references, tutorials, a book and
others. :mod:`tkinter` is also famous for having an outdated look and feel,
which has been vastly improved in Tk 8.5. Nevertheless, there are many other
GUI libraries that you could be interested in. For more information about
alternatives, see the :ref:`other-gui-packages` section.
The modules described in this chapter allow writing graphical user interfaces
for your program using the Tcl/Tk platform-independent windowing toolkit.

.. toctree::

Expand Down
Loading