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
- Pygame
- Kivy
- PySimpleGUI
- more...
Installation
pip install pywinstyles
Apply Window Styles/Themes
import pywinstyles
...
pywinstyles.apply_style(window, style)
...
Style Name | Preview |
---|---|
mica | |
acrylic | |
aero | |
transparent | |
optimised | |
win7 | |
inverse | |
native | |
popup | |
dark | |
normal | No Change |
Apply Custom Window Colors (Only works in windows 11)
Change Title Bar Color
pywinstyles.change_header_color(window, color="#00524d")
Change Title Text Color
pywinstyles.change_title_color(window, color="white")
Change Border Color
pywinstyles.change_border_color(window, color="#00ffff")
Get Windows Accent Color
default_color = pywinstyles.get_accent_color() # returns hex color string
Set opacity of individual widgets
pywinstyes.change_opacity(widget_id, value=0.5)
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.6.tar.gz
(9.1 kB
view hashes)
Built Distribution
Close
Hashes for pywinstyles-1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e23134e7f1c1ba49347510c8002484b4ab77a1c3622cc9850dda266719573191 |
|
MD5 | 3094d0c0f7976ef6ba9c782fa3e4ee82 |
|
BLAKE2b-256 | ffaf597f4cbd740eb6e727211a78d5c04664e5d754121fd5dac8ef2f97d50e58 |