bpo-33280: Reorganize external Tcl/Tk references. (GH-6473) · python/cpython@53d36cc (original) (raw)

`@@ -13,12 +13,17 @@

`

13

13

`` The :mod:tkinter package ("Tk interface") is the standard Python interface to

``

14

14

`` the Tk GUI toolkit. Both Tk and :mod:tkinter are available on most Unix

``

15

15

`platforms, as well as on Windows systems. (Tk itself is not part of Python; it

`

16

``

`` -

is maintained at ActiveState.) You can check that :mod:tkinter is properly

``

17

``


installed on your system by running ``python -m tkinter`` from the command line;

18

``

`-

this should open a window demonstrating a simple Tk interface.

`

``

16

`+

is maintained at ActiveState.)

`

``

17

+

``

18


Running ``python -m tkinter`` from the command line should open a window

``

19

`` +

demonstrating a simple Tk interface, letting you know that :mod:tkinter is

``

``

20

`+

properly installed on your system, and also showing what version of Tcl/Tk is

`

``

21

`+

installed, so you can read the Tcl/Tk documentation specific to that version.

`

19

22

``

20

23

`.. seealso::

`

21

24

``

``

25

`+

Tkinter documentation:

`

``

26

+

22

27

`` Python Tkinter Resources <https://wiki.python.org/moin/TkInter>_

``

23

28

` The Python Tkinter Topic Guide provides a great deal of information on using Tk

`

24

29

` from Python and links to other sources of information on Tk.

`

`@@ -32,17 +37,32 @@ this should open a window demonstrating a simple Tk interface.

`

32

37

`` Tkinter docs from effbot <http://effbot.org/tkinterbook/>_

``

33

38

` Online reference for tkinter supported by effbot.org.

`

34

39

``

35

``

`` -

Tcl/Tk manual <https://www.tcl.tk/man/tcl8.5/>_

``

36

``

`-

Official manual for the latest tcl/tk version.

`

37

``

-

38

40

`` Programming Python <http://learning-python.com/about-pp4e.html>_

``

39

41

` Book by Mark Lutz, has excellent coverage of Tkinter.

`

40

42

``

41

43

`` Modern Tkinter for Busy Python Developers <https://www.amazon.com/Modern-Tkinter-Python-Developers-ebook/dp/B0071QDNLO/>_

``

42

44

` Book by Mark Rozerman about building attractive and modern graphical user interfaces with Python and Tkinter.

`

43

45

``

44

46

`` Python and Tkinter Programming <https://www.manning.com/books/python-and-tkinter-programming>_

``

45

``

`-

The book by John Grayson (ISBN 1-884777-81-3).

`

``

47

`+

Book by John Grayson (ISBN 1-884777-81-3).

`

``

48

+

``

49

`+

Tcl/Tk documentation:

`

``

50

+

``

51

`` +

Tk commands <https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm>_

``

``

52

`` +

Most commands are available as :mod:tkinter or :mod:tkinter.ttk classes.

``

``

53

`+

Change '8.6' to match the version of your Tcl/Tk installation.

`

``

54

+

``

55

`` +

Tcl/Tk recent man pages <https://www.tcl.tk/doc/>_

``

``

56

`+

Recent Tcl/Tk manuals on www.tcl.tk.

`

``

57

+

``

58

`` +

ActiveState Tcl Home Page <http://tcl.activestate.com/>_

``

``

59

`+

The Tk/Tcl development is largely taking place at ActiveState.

`

``

60

+

``

61

`` +

Tcl and the Tk Toolkit <https://www.amazon.com/exec/obidos/ASIN/020163337X>_

``

``

62

`+

Book by John Ousterhout, the inventor of Tcl.

`

``

63

+

``

64

`` +

Practical Programming in Tcl and Tk <http://www.beedub.com/book/>_

``

``

65

`+

Brent Welch's encyclopedic book.

`

46

66

``

47

67

``

48

68

`Tkinter Modules

`

`@@ -175,21 +195,6 @@ documentation that exists. Here are some hints:

`

175

195

` place to go when nothing else makes sense.

`

176

196

``

177

197

``

178

``

`-

.. seealso::

`

179

``

-

180

``

`` -

Tcl/Tk 8.6 man pages <https://www.tcl.tk/man/tcl8.6/>_

``

181

``

`-

The Tcl/Tk manual on www.tcl.tk.

`

182

``

-

183

``

`` -

ActiveState Tcl Home Page <http://tcl.activestate.com/>_

``

184

``

`-

The Tk/Tcl development is largely taking place at ActiveState.

`

185

``

-

186

``

`` -

Tcl and the Tk Toolkit <https://www.amazon.com/exec/obidos/ASIN/020163337X>_

``

187

``

`-

The book by John Ousterhout, the inventor of Tcl.

`

188

``

-

189

``

`` -

Practical Programming in Tcl and Tk <http://www.beedub.com/book/>_

``

190

``

`-

Brent Welch's encyclopedic book.

`

191

``

-

192

``

-

193

198

`A Simple Hello World Program

`

194

199

`^^^^^^^^^^^^^^^^^^^^^^^^^^^^

`

195

200

``