on-internet
← Community

Why SystemButtonFace is not received as a color in linux but does in windows when using tkinter?

Stack Overflow ·

I was making an interface in windows using tkinter, and all my buttons had the color as "SystemButtonFace", then I moved to a linux computer and it throws an error, the color doesn't exist, and I changed it to white, but then I wondered if there was another way to do this, I made some research and apparently this is like a system value and Windows should return a hex code for the color but in Linux this value doesn't exist. Is there a way I can maybe add this value to the system? or should I just change the color values to another that can be used in both systems? The button: b1 = Button(root,

Comments

Sign in or sign up to comment and upvote.

No comments yet.