Re: Label behavior's difference between tkinter and ttk

2016-04-05 Thread ast
"Kevin Walzer" a écrit dans le message de news:ne1qin$7po$1...@dont-email.me... In general, the "img.config" syntax is suitable for the classic Tk widgets, not the themed ttk widgets. They have a very different (and very gnarly) syntax for indicating changed state. I am not inclined to see a

Re: Label behavior's difference between tkinter and ttk

2016-04-05 Thread Kevin Walzer
In general, the "img.config" syntax is suitable for the classic Tk widgets, not the themed ttk widgets. They have a very different (and very gnarly) syntax for indicating changed state. I am not inclined to see a bug here. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykev

Re: Label behavior's difference between tkinter and ttk

2016-04-05 Thread Terry Reedy
On 4/5/2016 2:57 AM, ast wrote: Hello I currently migrate a GUI from tkinter to ttk and I found a problem Here is a piece of code, with comments which explain what is wrong. Here is a complete program that eliminates manual entry and uses .mainloop and .after for the delays. import tkinter

Re: Label behavior's difference between tkinter and ttk

2016-04-05 Thread Terry Reedy
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

Re: Label behavior's difference between tkinter and ttk

2016-04-05 Thread Mark Lawrence via Python-list
On 05/04/2016 07:57, ast wrote: Hello I currently migrate a GUI from tkinter to ttk and I found a problem Here is a piece of code, with comments which explain what is wrong. import tkinter as tk import tkinter.ttk as ttk root = tk.Tk() BITMAP0 = """ #define zero_width 24 #define zero_height