Re: gdkpixbuf-animation: how to play without looping
- From: tomas tuxteam de
- To: Francesco Montorsi <f18m_cpp217828 yahoo it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gdkpixbuf-animation: how to play without looping
- Date: Wed, 27 Sep 2006 04:37:58 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Sep 26, 2006 at 06:45:22PM +0200, Francesco Montorsi wrote:
Hi,
I need to play a GdkPixbufAnimation without looping it. I.e. after
the last frame is displayed, I do *not* want to display the first frame
again...
I don't know (at compile-time) which animation my program will need to
play so I don't know its frame count and GdkPixbufAnimation won't let me
know that.
How can I do ?
AFAIK, the animated image itself contains the intended delays for each
frame (but I'm no expert here, so take with a pound of salt). On the
other hand, some query functions into the structure of the animation
would be nice here.
Regards
- -- tomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFFGgAmBcgs9XrR2kYRArQpAJ9J43FAovVmzkeKa7eOH6koRgeEaQCeIzfv
KCXsb76aTcbcTQjZ2Th89eg=
=tRK4
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]