Hi,

On Tue, 27 Mar 2018 13:27:06 -0700
Nam Nguyen via Tkinter-discuss <tkinter-discuss@python.org> wrote:

> I'm running i3-wm on Debian and this code tends to flicks more when I
> have my mouse over the buttons.
> Nam

I see some flicker here, too. The additional flicker when the mouse
hovers over the window is apparently due to the <Enter> event that occurs
after the widget was packed, which switches the button's background to
the activebackground color. The (here rather tiny) flicker with the mouse
outside the window is maybe only due to the time Tk needs to redraw the
window.
This effect can be observed more closely when you set the background
color of one button for example to "red" and to "green" for the other.
You will get much more flicker all of a sudden.

Best regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Witch!  Witch!  They'll burn ya!
                -- Hag, "Tomorrow is Yesterday", stardate unknown
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to