Customize window styles in windows 11
Project description
py-window-styles
Customize your UI window with awesome built-in Windows 11 header styles and themes. Windows 10 is also supported (only themes).
Supported UI Libraries
- Tkinter
- Customtkinter
- PyQt
- PySide
- WxPython
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 works in 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")
Getting Windows Accent Color
default_color = pywinstyles.get_accent_color()
Hope this package can help in UI development with python
Author: Akash Bora
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywinstyles-1.4.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for pywinstyles-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12ddc60f47b4373e05a614a9cba0cf233a895a353e2547c7960433ecfe9f5844 |
|
MD5 | 40357e4180e39befe35376a5f4121ad1 |
|
BLAKE2b-256 | f321e534920d6e54abdd61e8075cf3ee4c516abcdce3fbb67a6d7b5c3eaa4d34 |