/py-window-styles

Customize tkinter/pyqt/wxpython window with awesome pre-built windows 11 styles.

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

py-window-styles

Customize your UI window with awesome built-in windows 11 header styles and themes. This is only for windows 11 (some themes may not work with windows 10).

Screenshot 2023-06-19 205353

Installation

pip install pywinstyles

Window Styles

import pywinstyles
...
pywinstyles.apply_style(window, style)
...
Style Name Preview
mica
acrylic
aero
transparent
optimised
win7
inverse
native
popup
dark

Custom Window Colors (Only available for windows 11)

Changing Title Bar Color

pywinstyles.change_header_color(window, color="#00524d")  

Changing Title Text Color

pywinstyles.change_title_color(window, color="white") 

Change Border Color

pywinstyles.change_border_color(window, color="#00ffff")

Hope this project will help in UI development with python

Author: Akash Bora