On 4/5/2016 11:10 AM, Mark Lawrence via Python-list wrote:
On 05/04/2016 07:57, ast wrote:
[snip code]
# Enter these commands by hand, in a shell
img.config(foreground='red')
img.config(foreground='lime')
img.config(foreground='yellow')
It looks like a ttk bug, isn't it ?
I am using python 3.5.1
I tried a root.update_idletasks() to refresh the graphic
but it changed nothings.
I'm no tkinter expert, but I do know that there is a huge difference
between the way that tk and ttk widgets are configured.
In this case, it is the embedded tk bitmap image widget that is being
reconfigured. The issue is how that propagates the the diplay of the label.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinfo/python-list