66
66
available; :mod: `tkinter ` does this automatically), though they are
67
67
typically provided together, and "Tcl/Tk" is the name for the bundle.
68
68
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.
74
75
75
76
Tix
76
77
`Tix <https://core.tcl.tk/jenglish/gutter/packages/tix.html >`_ is an older
77
78
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.
79
79
It's deprecated in favor of Ttk.
80
80
81
81
@@ -88,6 +88,7 @@ widgets.
88
88
:mod: `tkinter.ttk ` has bindings for Themed Tk (Ttk) widgets, and
89
89
:mod: `tkinter.tix ` for ones from the Tix add-on.
90
90
91
+
91
92
:mod: `_tkinter ` is a C module that directly interfaces with Tcl/Tk via their C
92
93
interface. It's not supposed to be called directly by user code
93
94
save for a few functions.
0 commit comments