Differences between revisions 2 and 20 (spanning 18 versions)
Revision 2 as of 2002-07-14 23:26:39
Size: 968
Editor: pD9EB0537
Comment:
Revision 20 as of 2004-10-26 18:25:51
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/[http://wiki.tcl.tk/tk Tk].
Line 5: Line 5:
More info here: http://www.python.org/topics/tkinter/ The Tkinter wiki: http://tkinter.unpythonic.net/wiki/
Line 8: Line 8:
  * [http://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)
  * [http://www.astro.washington.edu/owen/TkinterSummary.html Tkinter Summary]
  * [http://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.
 * [http://www.ferg.org/thinking_in_tkinter/index.html Thinking in Tkinter] is an introduction to some basic Tkinter programming concepts.
Line 9: Line 15:
  * [http://www.amk.ca/bookstore/applications.html Python and Tkinter Programming] by JohnGrayson
  * [http://www.pythonware.com/library/index.htm An Introduction To Tkinter] (online) by FredrikLundh
 * [http://docs.python.org/lib/tkinter.html Graphical User Interfaces with Tk], a chapter from the [http://docs.python.org/lib/lib.html Python Library Reference].
Line 12: Line 17:
Also see: http://www.python.org/topics/tkinter/doc.html  * [http://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 [http://www.nmt.edu/tcc/help/pubs/tkinter/ HTML] and [http://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:

        * [http://www.tcl-tk.net Tcl Developer Xchange]
        * [http://sourceforge.net/projects/tcl Tcl project at SourceForge]
        * [http://sourceforge.net/foundry/tcl-foundry Tcl foundry at SourceForge]
Line 17: Line 40:
  * ["Tix"]   * ["Tix"] (http://www.python.org/doc/current/lib/module-Tix.html)
Line 19: Line 42:
  * ["How Tkinter can exploit Tcl/Tk extensions"]
Line 22: Line 46:
MythDebunking: ''TkInter is ugly on Windows.'' MythDebunking: ''TkInter is ugly on Windows'' (http://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/[http://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: http://tkinter.unpythonic.net/wiki/

Tkinter Documentation

David McNab recommended the latter two as particularly "pythonic" in not insisting that readers think in Tcl.

Tkinter Extensions

Comments

MythDebunking: TkInter is ugly on Windows (http://wiki.tcl.tk/TkWidgetsLookFine)

TkInter (last edited 2022-02-08 22:05:48 by martinmiller)

Unable to edit the page? See the FrontPage for instructions.