[Tkinter-discuss] Tile themeing engine

Michael Lange klappnase at web.de
Fri Dec 17 19:41:24 CET 2004

On Fri, 17 Dec 2004 11:00:32 -0700
Stewart Midwinter <stewart.midwinter at gmail.com> wrote:

> Has anyone got the Tile themeing engine (from http://tktable.sf.net)
> working with Tkinter?  If so, how'd you do it?   Instructions on the
> site don't give much clue for Python users.
> thanks,
> -- 
Hi Stewart,

have a look at the UsingTile page of the wiki (http://tkinter.unpythonic.net/wiki/UsingTile);
the example posted there worked perfectly (at least for me):

from Tkinter import *
root = Tk()
root.tk.call('package', 'require', 'tile')
root.tk.call('namespace', 'import', '-force', 'ttk::*')
root.tk.call('tile::setTheme', 'alt')
v = IntVar()
Radiobutton(root, text="Hello", variable=v, value=1).pack()
Radiobutton(root, text="There", variable=v, value=2).pack()



More information about the Tkinter-discuss mailing list