How to change colors of multiple widgets after hovering in Tkinter? How to change colors of multiple widgets after hovering in Tkinter? tkinter tkinter

How to change colors of multiple widgets after hovering in Tkinter?


You need to provide a callable function to bind to the event. Instead you are calling a function and passing its result. Fix it like this:

Hover1.bind("<Enter>", lambda event, h=Hover1: h.configure(bg="red"))