GTK transition effects

I am just starting with gtk. I've created some GTK example with GTK + Glade.

but I want to make some transition effects (animation) on my widgets / Windows / Components While they appear / disappear on the screen.

how do we do it with GTK and Glade?

+2
gtk


source to share


3 answers


If you mean transition effects like hovering windows and dropdowns and then answer, you can't. These effects are the scope of the window manager. To get them you have to use a window manager with fancy effects like Compiz .



This also means that anyone using your application can use any window manager, so you cannot expect them to see the same effects. This is why you cannot program them in GTK.

+3


source to share


Using compiz or on windows increases the opacity of your Gtk window with a timer by overriding the on_expose event.



0


source to share


You can actually do this with Clutter and Clutter- GTK , which integrates GTK within Clutter.

0


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics