Terry J. Reedy added the comment:
You code as posted is buggy. 'settings' maps styles to dicts with possible
keys ‘configure’, ‘map’, ‘layout’ and ‘element create’. See
https://docs.python.org/3/library/tkinter.ttk.html#tkinter.ttk.Style.theme_create
I presume '.' refers to all styles, but [
New submission from WHK :
By example
style = ttk.Style()
style.theme_settings('default', settings={
'.': []
})
Tkinter settings schema or typed data is missing. By example:
_tkinter.TclError: Invalid state name d
This error message does not provide the missing parameter information, by