I try to code a to-do-list. When I click on the button self.button_check to change the color from a white entry to green it works until I create a second entry. The Problem is the new entry with the new check.button also look for the variable self.check_var which is used for the first. My Question is now: Is there a way to check the current bg color of an entry, to change if the entry is white or green instead of using the self.check_var variable?
Sry for obvious mistakes, I just started coding