Ethan Furman <et...@stoneleaf.us> added the comment:

The changes to Style.configure were not good.  Corrected so the (possibly 
empty) result is returned when a query is made but not when configuration is 
set.

Two patches: one for the element_names issue, one for the configure issue.

Question:  Does it ever make sense to do both a query and a configuration 
update in the same call?  I don't think it is:

--> ttk.Style.configure('TButton', 'relief', relief='sunken'
'raised'
--> s.configure('TButton','relief')
'raised'

Does it make sense to raise an exception in configure if both query_opt and kw 
specified?

----------
Added file: http://bugs.python.org/file23223/ttk_style_fixes.zip

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to