Changing Program Theme – It’s not a bug

Last Updated on May 18, 2024 22:10

Over the past month and a half I’ve put in quite a few hours refactoring code, cleaning up code, adding code. I’ve found a few quircks in the code that I’ve completely re-written because I can’t, for the life of me, figure out what I was thinking or where my head was when I wrote some of the code. At any rate, one of the limitations of TKinter – which the API I use to write this program is wrapped around – you can’t change color themes and see the result during runtime. It requires the program to be restarted for the color theme change to be seen. There are literally hundreds of discussions around this topic in regards to the wrapper, or API as I call it, since it’s essentially the Application Programming Interface. Anyway, the fact that the program has to restart for the chosen color theme to be evident isn’t a bug… just an annoying limitation of TKinter used with Python. That being said, I have seen one example of someone who ginned up his implementation of changing themes on-the-fly. It actually worked, so perhaps after I get a lot of the other things on my todo list completed I’ll see what can be done.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *