Skip to content

How to apply it for widgets? #60

Answered by rdbende
RuthvikSaiKumar asked this question in Q&A
Discussion options

You must be logged in to vote

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 use ttk (themed tk) widgets. It's as simple as just importing ttk from tkinter and then replacing the plain tkinter widgets with their themed counterpart.

Like this:

from tkinter import ttk

button = ttk.Button(...)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RuthvikSaiKumar
Comment options

Answer selected by RuthvikSaiKumar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants