Size: 1053
Comment:
|
Size: 2838
Comment: Add doc. material from topic guide
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Tkinter is Python's de-facto standard GUI (Graphical User Interface) package. It is a thin object-oriented layer on top of Tcl/Tk. | Tkinter is Python's de-facto standard GUI (Graphical User Interface) package. It is a thin object-oriented layer on top of Tcl/[https://wiki.tcl.tk/tk Tk]. |
Line 5: | Line 5: |
More info here: https://python.domainunion.de/topics/tkinter/ | The Tkinter wiki: https://tkinter.unpythonic.net/wiki/ |
Line 8: | Line 8: |
* [https://www.pythonware.com/library/index.htm An Introduction To Tkinter] (online) by FredrikLundh * [wiki:ISBN:1884777813 Python and Tkinter Programming] by John Grayson (see also GuiBooks) * [https://www.astro.washington.edu/owen/TkinterSummary.html Tkinter Summary] * [https://www.astro.washington.edu/owen/ROTKFolklore.html Tkinter Folklore] David McNab recommended the latter two as particularly "pythonic" in not insisting that readers think in Tcl. * [https://www.ferg.org/thinking_in_tkinter/index.html Thinking in Tkinter] is an introduction to some basic Tkinter programming concepts. |
|
Line 9: | Line 15: |
* [https://www.pythonware.com/library/index.htm An Introduction To Tkinter] (online) by FredrikLundh * Python and Tkinter Programming by JohnGrayson (see GuiBooks for info) * DEAD: [https://www.amk.ca/bookstore/applications.html Python and Tkinter Programming] by JohnGrayson |
* [https://docs.python.domainunion.de/lib/tkinter.html Graphical User Interfaces with Tk], a chapter from the [https://docs.python.domainunion.de/lib/lib.html Python Library Reference]. |
Line 14: | Line 17: |
Also see: https://python.domainunion.de/topics/tkinter/doc.html | * [https://www.tcl-tk.net/man/ Online Tcl/Tk Manual Pages] - the official man pages at the Tcl Developer Xchange. * The New Mexico Institute of Mining and Technology created its own Tkinter manual. It is available in [https://www.nmt.edu/tcc/help/pubs/tkinter/ HTML] and [https://www.nmt.edu/tcc/help/pubs/tkinter.pdf PDF]. * The ''Tkinter Life Preserver'', by Matt Conway is still useful, though way out of date. It's the only document that explains how to read the Tcl/Tk manuals and translate the information there to Tkinter calls. [http:/doc/life-preserver/index.html HTML version], converted by Ken Manheimer. * The source: when all else fails: Read The Source, Luke! * ''Demo/tkinter/'' in the Python source distribution. This contains many helpful examples, including updated versions of Matt Conway's examples. * ''Lib/lib-tk/Tkinter.py'' in any Python distribution. * Other prominent Tcl/Tk sites: * [https://www.tcl-tk.net Tcl Developer Xchange] * [https://sourceforge.net/projects/tcl Tcl project at SourceForge] * [https://sourceforge.net/foundry/tcl-foundry Tcl foundry at SourceForge] |
Line 19: | Line 40: |
* ["Tix"] | * ["Tix"] (https://python.domainunion.de/doc/current/lib/module-Tix.html) |
Line 21: | Line 42: |
* ["How Tkinter can exploit Tcl/Tk extensions"] | |
Line 24: | Line 46: |
MythDebunking: ''TkInter is ugly on Windows.'' | MythDebunking: ''TkInter is ugly on Windows'' (https://wiki.tcl.tk/TkWidgetsLookFine) |
Tkinter is Python's de-facto standard GUI (Graphical User Interface) package. It is a thin object-oriented layer on top of Tcl/[https://wiki.tcl.tk/tk Tk].
Tkinter is not the only GuiProgramming toolkit for Python. It is however the most commonly used one, and almost the only one that is portable between Unix, Mac and Windows. CameronLaird calls the yearly decision to keep TkInter "one of the minor traditions of the Python world."
The Tkinter wiki: https://tkinter.unpythonic.net/wiki/
Tkinter Documentation
[https://www.pythonware.com/library/index.htm An Introduction To Tkinter] (online) by FredrikLundh
[wiki:1884777813 Python and Tkinter Programming] by John Grayson (see also GuiBooks)
[https://www.astro.washington.edu/owen/TkinterSummary.html Tkinter Summary]
[https://www.astro.washington.edu/owen/ROTKFolklore.html Tkinter Folklore]
David McNab recommended the latter two as particularly "pythonic" in not insisting that readers think in Tcl.
[https://www.ferg.org/thinking_in_tkinter/index.html Thinking in Tkinter] is an introduction to some basic Tkinter programming concepts.
[https://docs.python.domainunion.de/lib/tkinter.html Graphical User Interfaces with Tk], a chapter from the [https://docs.python.domainunion.de/lib/lib.html Python Library Reference].
[https://www.tcl-tk.net/man/ Online Tcl/Tk Manual Pages] - the official man pages at the Tcl Developer Xchange.
The New Mexico Institute of Mining and Technology created its own Tkinter manual. It is available in [https://www.nmt.edu/tcc/help/pubs/tkinter/ HTML] and [https://www.nmt.edu/tcc/help/pubs/tkinter.pdf PDF].
The Tkinter Life Preserver, by Matt Conway is still useful, though way out of date. It's the only document that explains how to read the Tcl/Tk manuals and translate the information there to Tkinter calls. [http:/doc/life-preserver/index.html HTML version], converted by Ken Manheimer.
- The source: when all else fails: Read The Source, Luke!
Demo/tkinter/ in the Python source distribution.
- This contains many helpful examples, including updated versions of Matt Conway's examples.
Lib/lib-tk/Tkinter.py in any Python distribution.
- Other prominent Tcl/Tk sites:
[https://www.tcl-tk.net Tcl Developer Xchange]
[https://sourceforge.net/projects/tcl Tcl project at SourceForge]
[https://sourceforge.net/foundry/tcl-foundry Tcl foundry at SourceForge]
Tkinter Extensions
["Pmw"] (https://pmw.sourceforge.net)
["Tix"] (https://python.domainunion.de/doc/current/lib/module-Tix.html)
["Tkinter3000"] (https://tkinter.effbot.org)
- ["How Tkinter can exploit Tcl/Tk extensions"]
Comments
MythDebunking: TkInter is ugly on Windows (https://wiki.tcl.tk/TkWidgetsLookFine)