In Gtk, is it possible to make widgets fade out?

I would like to have Label

(or at least the text on the label) make it fade quickly. It looks like it's possible in a mess , but I don't want to use a mess until the mess is packaged for Ubuntu. Is there a way to do this that doesn't involve using clutter?

+2


a source to share


2 answers


you can use gtk_widget_get_snapshot()

and then extinguish the GdkPixmap that is returned with cairo



+6


a source


I've never seen it in any of the more common GTK themes, but the new Google Chrome theme does it and it uses GTK. So I'll say yes, but not many people use it.



0


a source







All Articles