How to apply it for widgets? #60
-
Hi, I just want to know, if I should do any extra steps to add the theme to buttons, checkbuttons etc, because, light and dark theme is working but the widgets are just having the same default theme. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! Seems like you're using plain Tkinter widgets, not Like this: from tkinter import ttk
button = ttk.Button(...) |
Beta Was this translation helpful? Give feedback.
Hi!
Thanks for using my theme, I'm glad you like it!
Seems like you're using plain Tkinter widgets, not
ttk
ones. In order to apply the theme to the widgets, you need to usettk
(themed tk) widgets. It's as simple as just importingttk
from tkinter and then replacing the plain tkinter widgets with their themed counterpart.Like this: