Is there a way i can change the background color of tkinter from different modules?
For example lets say Simpletoggle runs. within Simpletoggle there is a another function that gets called, this function from the different file should change the color of the background.
The idea is to have colour effect when a different function is called.
Thank you
First module
def Simpletoggle():
data()
ws = Tk()
ws.title("Python Guides")
app_picture = Label (ws,image=filename)
toggle_button = Button(text="Active", width=10, command=Simpletoggle)
ws.configure(bg='red')
ws.mainloop()