Skip to content

Commit a989b73

Browse files
authored
gh-75552: Remove deprecated tkinter.tix module (GH-104902)
1 parent 86d8f48 commit a989b73

22 files changed

+18
-2719
lines changed

Doc/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@
235235
# match any of the following regexes (using re.match).
236236
coverage_ignore_modules = [
237237
r'[T|t][k|K]',
238-
r'Tix',
239238
]
240239

241240
coverage_ignore_functions = [

Doc/faq/gui.rst

+2-9
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,8 @@ One solution is to ship the application with the Tcl and Tk libraries, and point
4646
to them at run-time using the :envvar:`TCL_LIBRARY` and :envvar:`TK_LIBRARY`
4747
environment variables.
4848

49-
To get truly stand-alone applications, the Tcl scripts that form the library
50-
have to be integrated into the application as well. One tool supporting that is
51-
SAM (stand-alone modules), which is part of the Tix distribution
52-
(https://tix.sourceforge.net/).
53-
54-
Build Tix with SAM enabled, perform the appropriate call to
55-
:c:func:`Tclsam_init`, etc. inside Python's
56-
:file:`Modules/tkappinit.c`, and link with libtclsam and libtksam (you
57-
might include the Tix libraries as well).
49+
Various third-party freeze libraries such as py2exe and cx_Freeze have
50+
handling for Tkinter applications built-in.
5851

5952

6053
Can I have Tk events handled while waiting for I/O?

Doc/library/tk.rst

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ Graphical User Interfaces with Tk
1212

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

1817
The :mod:`tkinter` package is a thin object-oriented layer on top of Tcl/Tk. To
1918
use :mod:`tkinter`, you don't need to write Tcl code, but you will need to
@@ -39,7 +38,6 @@ alternative `GUI frameworks and tools <https://wiki.python.org/moin/GuiProgrammi
3938
tkinter.scrolledtext.rst
4039
tkinter.dnd.rst
4140
tkinter.ttk.rst
42-
tkinter.tix.rst
4341
idle.rst
4442

4543
.. Other sections I have in mind are

Doc/library/tkinter.rst

-4
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ Additional modules:
252252
(experimental) Drag-and-drop support for :mod:`tkinter`. This will
253253
become deprecated when it is replaced with the Tk DND.
254254

255-
:mod:`tkinter.tix`
256-
(deprecated) An older third-party Tcl/Tk package that adds several new
257-
widgets. Better alternatives for most can be found in :mod:`tkinter.ttk`.
258-
259255
:mod:`turtle`
260256
Turtle graphics in a Tk window.
261257

0 commit comments

Comments
 (0)