Blur PySide, Tkinter, etc windows.
Project description
You can install it with pip:
python -m pip install BlurWindow
Preview:
Parameters/Functions:
#HWND = PID
#Acrylic = True/False #For Acrylic Design (lags)
#hexColor = Background color, False for nothing
#Dark = White icons
blur(HWND,hexColor=False,Acrylic=False,Dark=False)
#in windows 7 or older: (scroll down for image)
Win7Blur(HWND)
#in Linux (may not work for all distros, scroll down for image)
BlurLinux(HWND)
#NEW, Blur Windows Vista, 7, 8, 8.1, 10, 11, Linux auto
GlobalBlur(HWND,hexColor=False,Acrylic=False,Dark=False)
Example:
import sys
from PySide2.QtWidgets import *
from PySide2.QtCore import *
from BlurWindow.blurWindow import GlobalBlur
class MainWindow(QWidget):
def __init__(self):
super(MainWindow, self).__init__()
self.setAttribute(Qt.WA_TranslucentBackground)
self.resize(500, 400)
GlobalBlur(self.winId(),Dark=True)
self.setStyleSheet("background-color: rgba(0, 0, 0, 0)")
if __name__ == '__main__':
app = QApplication(sys.argv)
mw = MainWindow()
mw.show()
sys.exit(app.exec_())
Windows 7/Vista:
Linux (Deepin):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
BlurWindow-1.1.4.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for BlurWindow-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9acb9ccaf1e8e52af53b652a8a6af1392d837ead31e073dc9f7b0f1d9a59d9fe |
|
MD5 | 6090825761af86887a38d6a511eaf71f |
|
BLAKE2b-256 | 0952358be8a10d74577763053080490ced75ce602d02dec3ad427373d29c4bf5 |