Home > Back-end >  Tkinter won't accurately reflect kwargs when making a new frame. How do I change inheriting fra
Tkinter won't accurately reflect kwargs when making a new frame. How do I change inheriting fra

Time:12-15

In my code, I'm creating an object called a HistoryFrame that is supposed to inherit from tkinter.Frame. I want to change the background color of my HistoryFrame as a parameter that's passed in on its creation, and when I print kwargs, it accurately reflects a that I've passed in {'bg':'blue', etc...}, but it doesn't change the actual color of the background of the frame.

How do I fix this? and why is this happening?

screenshot

  • Related