[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: gdkpixbuf-animation: how to play without looping
From: tomas () tuxteam ! de
Date: 2006-09-27 4:37:58
Message-ID: 20060927043758.GA26994 () www ! trapp ! net
[Download RAW message or body]
-----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-----
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic