On 18/12/15 18:38, Alex Kleider wrote:

> I've settled on "Modern Tkinter" by Mark Roseman.
> His is the most recently published of the various references recommended
> and he makes the point that the "themed" (ttk) component is recent
> (and I assume not covered in the other sources.)

FWIW My recent book Python Projects includes coverage of
both ttk and Tix as well as core tkinter. But it's only
designed to be a taster, it's not a complete reference.
It's more about the general approach to putting a UI on
an app than about any specific toolkit.

>      import tkinter as tk
>      from tkinter import ttk

For production code this is better.
And you can swap out Tkinter for Tix by just changing
one line:

import tkinter.tixix as tk   # v3

or

import Tix as tk    # v2

So all  the existing tk code carries on working but
you now have access to the extra widgets in Tix too.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to