问题
I was wondering if it's possible for any widgets to acquire MacOS-like blurry transparent background. Deepin Desktop Environment is able to emulate this on their context menu with Qt. Windows is slowly adopting this style after they dropped aero.
Also, I was wondering if there's any way to ship a GTK application that do not follow user themes/fonts in *nix desktops so I can lock it down with my own CSS style.
Thanks in advance.
回答1:
not yet, but there is currently in development a gskblurnode event in GTK 4.0+, the dev build is 3.91.2. which i've seen a demo as well. keep track of development here https://wiki.gnome.org/Projects/GTK%2B/Roadmap/GTK4
and there is a video on youtube here with the demo. which also uses vulkan as the new renderer https://www.youtube.com/watch?v=Gqo8nJKjcis
来源:https://stackoverflow.com/questions/45456175/gtkis-it-possible-to-achieve-glass-blur-effect-in-gtk