/win32material

Apply some window effects to the Win32 Applications

Primary LanguagePythonMIT LicenseMIT

win32material

Apply some window effects to the Win32 Applications

Installation

pip install win32material

Gallery

image image image

from win32material import ...
ApplyMica(hwnd, theme, micaalt)
ApplyAcrylic(hwnd, extend)
ChangeTitlebarColor(hwnd, "#111111")

image

ChangeBorderColor(hwnd, "#114514")

image

ChangeTitleColor(hwnd, "#745616")

image

SetBorderType(hwnd, BORDERTYPE.RECTANGULAR)

image

SetBorderType(hwnd, BORDERTYPE.ROUND)

image

SetBorderType(hwnd, BORDERTYPE.SMALLROUND)

image

Thanks

Get the idea of applying mica from https://github.com/marticliment/win32mica/

And some other ideas from https://github.com/Akascape/py-win-styles