[GTK]是否可以在GTK中实现玻璃/模糊效果? [英] [GTK]Is it possible to achieve Glass/Blur effect in GTK?

查看:91
本文介绍了[GTK]是否可以在GTK中实现玻璃/模糊效果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有任何小部件都能获得类似MacOS的模糊透明背景.深度桌面环境可以使用Qt在上下文菜单中模拟.Windows正在慢慢采用

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.

此外,我想知道是否有任何方法可以在* nix桌面上发布不遵循用户主题/字体的GTK应用程序,以便我可以使用自己的CSS样式对其进行锁定.

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.

谢谢.

推荐答案

尚未,但当前正在GTK 4.0+中开发gskblurnode事件,开发版本为3.91.2.我也看过一个演示.在此处跟踪开发情况 https://wiki.gnome.org/Projects/GTK%2B/Roadmap/GTK4

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

,并且在YouTube上有一个带有演示的视频.还将vulkan用作新的渲染器 https://www.youtube.com/watch?v=Gqo8nJKjcis

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

这篇关于[GTK]是否可以在GTK中实现玻璃/模糊效果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆