Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让一个Label(或至少标签上的文本)快速淡入。看起来这在 clutter 中是可能的,但是在为 Ubuntu 打包 clutter-sharp 之前,我不想使用 clutter 。有什么方法可以做到这一点而不涉及使用混乱?
Label
您可以使用gtk_widget_get_snapshot()然后淡出它使用 cairo 返回的 GdkPixmap
gtk_widget_get_snapshot()
我从未在任何更常见的 GTK 主题中看到它,但 Google Chrome 的新主题做到了这一点,并且它使用了 GTK。所以,我会说是的,但没有多少人使用它。