How do I show an animated gif in the app I am developing?
Posted
by
Agmenor
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Agmenor
Published on 2012-06-23T16:41:42Z
Indexed on
2012/06/23
21:25 UTC
Read the original article
Hit count: 262
I am developing Discvur, a simple Imgur viewer, for the Ubuntu App Showdown. Therefore I use quickly + Glade + Gtk + Python. PyGObject instead of PyGtk would be highly appreciated. I would like to display some animated gifs in my program.
What I tried was inserting a viewport, then an image, and then in the 'Edit Image' field I selected a gif animation (in my case "../media/akO1i.gif"). When I run my app, the gif is displayed but it is not moving (I only see the first frame).
Is it possible to show animated gifs in my app? What is the best and/or easiest way to do it: use the image widget, or a WebKit field, or something else?
© Ask Ubuntu or respective owner