Blur PySide, Tkinter, etc windows.
Project description
You can install it with pip:
python -m pip install BlurWindow
Preview:
Parameters:
#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:
Win7Blur(HWND)
Example:
import sys
from PySide2.QtWidgets import *
from PySide2.QtCore import *
from BlurWindow.blurWindow import blur
class MainWindow(QWidget):
def __init__(self):
super(MainWindow, self).__init__()
self.setAttribute(Qt.WA_TranslucentBackground)
self.resize(500, 400)
hWnd = self.winId()
print(hWnd)
blur(hWnd)
self.setStyleSheet("background-color: rgba(0, 0, 0, 0)")
if __name__ == '__main__':
app = QApplication(sys.argv)
mw = MainWindow() #you can blur MainWindow too
mw.show()
sys.exit(app.exec_())
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.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for BlurWindow-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b01827c988c58484f093c3e298bbbd3d1b4241a6e4ffdd142ed06e857980be6a |
|
MD5 | 1b7cce140885a214246eae3380a2879c |
|
BLAKE2b-256 | 00c1c08a72018598efca55b7daf636d12680315d88bdadc680bef80f6cfa57d2 |