问题
I am wondering how to create a blur transparency effect in tkinter. I already know how to add the transparency effect to the window by using
root=Tk()
root.attributes("-alpha",0.95)
But how can you add the blur part?
回答1:
This service is not provided by tkinter. However you can take a screenshot of your app and blur it yourself (see for instance ImageFilter.GaussianBlur or numpy.gaussian filter).
来源:https://stackoverflow.com/questions/38393643/tkinter-create-blur-transparency