[Tutor] Tkinter Documentation

Alan Gauld alan.gauld at btinternet.com
Sun Mar 31 01:44:10 CET 2013


On 30/03/13 23:25, Mark Lawrence wrote:
> On 30/03/2013 23:16, Clyde Wilson wrote:
>> Is there a fairly complete set of documentation on-line for Tkinter?
>> I'm using Python 3.3 on Windows.
>
> http://docs.python.org/3/library/tkinter.html

This contains links to most of the resources you need but its important 
to remember when dealing with Tkinter that it is tracking the underlying 
Tk widget set. There are a lot of undocumented or poorly documented 
features and options in that set and it changes on a fairly regular 
basis with new releases. For example the original Ousterhout book is now 
so far out of date it is really only useful for understanding the basic 
philosophy and structure of Tcl/Tk.

There are several good Tk reference sites but you have to translate 
Tcl/Tk into Python to use them. Some sites give multi-lingual examples, 
for example:

http://www.tkdocs.com/

Which is incomplete but slowly growing and has examples in Tcl and Ruby.
(The tutorial section has Perl and Python too...)

This is the official Tk site (all tcl based)

http://www.tcl.tk/man/tcl8.5/TkCmd/contents.htm

And of course don't forget Tix which is also part of the Tkinter library 
support in Python now.

http://tix.sourceforge.net/man/html/TixCmd/TixIntro.htm#M11


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list