Re: [Tkinter-discuss] Detecting third-party ttk themes

2013-03-11 Thread Michael Lange
On Sun, 10 Mar 2013 20:55:46 -0500 Jeff Epler wrote: (...) > so I think the pattern would have to be: > * do a dummy [package require impossible-package-name] to ensure that >anything directly named in a pkgIndex.tcl gets pulled in >(you'll either need a Tcl catch or a Python try/except

Re: [Tkinter-discuss] Detecting third-party ttk themes

2013-03-10 Thread Jeff Epler
ttk.Style.theme_names is using [ttk::style theme names]. This enumerates the table of loaded themes only (ones that already exist in the interpreter). [ttk::themes] uses a different method: it searches [package names] for loaded or available, but as far as I can tell there's no way to know you've

Re: [Tkinter-discuss] Detecting third-party ttk themes

2013-03-10 Thread Michael Lange
On Fri, 8 Mar 2013 23:27:25 +0100 Michael Lange wrote: > Has any one an idea, is there a way to change the pkgIndex.tcl file so > that ttk will find the themes automagically or isn't this possible at > all? It is hard to find any docs a tcl-illiterate as me can use, so I made some further experi

[Tkinter-discuss] Detecting third-party ttk themes

2013-03-08 Thread Michael Lange
Hi, does any one know of a way to make ttk auto-detect third-party themes (like the ones from the tile-themes project at http://tktable.cvs.sourceforge.net/viewvc/tktable/tile-themes/ )? Here I installed these (as I thought) properly on my system (debian linux); "installed" means that I copied th