--- ttk_orig.py 2013-03-11 12:53:49.405114943 +0100 +++ ttk.py 2013-03-11 13:15:15.857107717 +0100 @@ -523,6 +523,13 @@ self.tk.call("ttk::setTheme", themename) + def themes(self, pattern=None): + '''Returns a list of theme names available. It can be passed an + argument which is used as an lsearch glob pattern while looking + for the theme names.''' + return self.tk.splitlist(self.tk.call('ttk::themes', pattern)) + + class Widget(tkinter.Widget): """Base class for Tk themed widgets."""