ttk::themes

This function is defined in ttk's ttk.tcl initialization script. It 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.