10000 Merge branch 'roseman_8' into tkinter_docs_roseman_myedits · native-api/cpython@a15b883 · GitHub
[go: up one dir, main page]

Skip to content

Commit a15b883

Browse files
committed
Merge branch 'roseman_8' into tkinter_docs_roseman_myedits
# Conflicts: # Doc/library/tkinter.rst
2 parents 2f7f367 + d8d5ac0 commit a15b883

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Doc/library/tkinter.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ Tk
6666
available; :mod:`tkinter` does this automatically), though they are
6767
typically provided together, and "Tcl/Tk" is the name for the bundle.
6868

69-
Ttk
70-
Themed Tk (Ttk) is a newer family of Tk widgets that provide a much better
71-
appearance on different platforms than many of the classic Tk widgets.
72-
Ttk is distributed as part of Tk, starting with Tk version 8.5. Python
73-
bindings are provided in a separate module, :mod:`tkinter.ttk`.
69+
Since version 8.5, Tk also implements the
70+
`Themed Tk (Ttk) <https://www.tcl.tk/man/tcl8.6/TkCmd/ttk_intro.htm>`_
71+
family of widgets. They feature much better, consistent and native look
72+
across different platforms.
73+
Ttk widgets are recommended for use in new code, with their regular
74+
counterparts mostly reserved for legacy code and special cases.
7475

7576
Tix
7677
`Tix <https://core.tcl.tk/jenglish/gutter/packages/tix.html>`_ is an older
7778
third-party Tcl package, an add-on for Tk that adds several new widgets.
78-
Python bindings are found in the :mod:`tkinter.tix` module.
7979
It's deprecated in favor of Ttk.
8080

8181

@@ -88,6 +88,7 @@ widgets.
8888
:mod:`tkinter.ttk` has bindings for Themed Tk (Ttk) widgets, and
8989
:mod:`tkinter.tix` for ones from the Tix add-on.
9090

91+
9192
:mod:`_tkinter` is a C module that directly interfaces with Tcl/Tk via their C
9293
interface. It's not supposed to be called directly by user code
9394
save for a few functions.

0 commit comments

Comments
 (0)
0