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

Fix #2160: Toplevel icon overriding on init #2162

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timgdx
Copy link

@timgdx timgdx commented Dec 21, 2023

Fix for #2160.
There was a small bug and a bigger bug attempting to fix the previous bug.
self._iconbitmap_method_called was being initialized True which meant the default CTK icon was never set by _windows_set_titlebar_icon(). To fix this there was a delayed action to force the default CTK icon after 200ms, but this one didn't call _windows_set_titlebar_icon() and didn't check if the icon had already been set either.

Also, wm_iconbitmap() was present but iconbitmap() was not and has now been added.

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.

None yet

1 participant