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

ctypes.ArgumentError: argument 2: TypeError: expected WINDOWCOMPOSITIONATTRIBDATA instance instead of WindowCompositionAttribute #17

Closed
littlewhitecloud opened this issue Jul 25, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@littlewhitecloud
Copy link
Contributor

No description provided.

@marticliment
Copy link
Owner

Can you please post an example of the code that is failing?

Thanks!

@marticliment marticliment added the bug Something isn't working label Jul 29, 2023
@littlewhitecloud
Copy link
Contributor Author

Thanks! Please try this.

pip install CustomTkinterTitlebar

And run this code.

from CustomTkinterTitlebar import CTT
from win32mica import ApplyMica

example = CTT()
ApplyMica(example.hwnd, True) # CTT window has hwnd
example.mainloop()

@marticliment
Copy link
Owner

This issue will be fixed with version 2.0

@littlewhitecloud
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants