I want to change the theme of my tkinter application to clam.
What is the code and where do I put it? I have tried:
from tkinter import *
from tkinter.ttk import *
s=ttk.Style()
s.theme_use('clam')
I want to change the theme of my tkinter application to clam.
What is the code and where do I put it? I have tried:
from tkinter import *
from tkinter.ttk import *
s=ttk.Style()
s.theme_use('clam')
To change the theme, call
.theme_use()
with the theme's name as the argument.From https://infohost.nmt.edu/tcc/help/pubs/tkinter/web/ttk-theme-layer.html