[issue43708] Tkinter theme settings object schema is missing

2021-04-09 Thread Terry J. Reedy
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 [

[issue43708] Tkinter theme settings object schema is missing

2021-04-02 Thread WHK
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