Skip to content

Changing pywinstyles by ctkSwitch to Deafault color theme #3

Answered by Akascape
CheckAvaliable asked this question in Q&A
Discussion options

You must be logged in to vote

@CheckAvaliable

I have a ctkSwitchbox with which I want to change the standard ctk theme to aero from pywintyles. The problem occurs after applying aero - I just can't get it back.

Pywinstyles works only with the root/toplevel windows. So use it with the main window and not the widgets. If you want to get the main window of any widget, use widget.winfo_toplevel() and then pass it to pywinstyles.

optimised, dark and light themes don't work in 10

dark theme will work after the new update, just update pywinstyles. pip install pywinstyles --upgrade

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by CheckAvaliable
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
duplicate This issue or pull request already exists
2 participants