Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add autostyle flag to legacy tkinter widgets #101

Merged
merged 1 commit into from Dec 26, 2021

Conversation

israel-dryer
Copy link
Owner

I've added an autostyle flag to legacy tkinter widgets that is implicitly "True". The normal behavior is for a default style to be applied to legacy widgets so that they do not look out-of-place when used together with themed ttk widgets. The autostyle parameter will enable the user to turn off this style and prevent it from being registered with the Publisher which updates the legacy widget styles whenever the theme is changed. However, this does mean that all styling must be done by the user if they choose to turn off the default styling.

@israel-dryer israel-dryer linked an issue Dec 26, 2021 that may be closed by this pull request
@israel-dryer israel-dryer merged commit 0e71e9f into master Dec 26, 2021
@israel-dryer israel-dryer deleted the enable-autostyle-flag-on-legacy-widgets branch December 26, 2021 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Basic Theme not retained in Text widget
1 participant