[Gtk-sharp-list] GTK# and PixbufAnimation iteration.

MrFreeman biggestsonicfan at gmail.com
Fri Feb 11 21:44:56 EST 2011



Peter Johanson-2 wrote:
> 
> I don't know anything about PixbufAnimation, but for passing NULL, you
> can use IntPtr.Zero. Maybe try passing that instead?

You know, I had originally been using that value, just to get the project
compiling, but it seemed like the PixbufAnimationIter would never advance to
the next Pixbuf frame.

I can never get the image to show, not even if I stick it in it's own
thread. I DO however write the value of "PixbufAnimationIter.DelayTime" to
the console, and it always produces the same result, the first frame of the
.GIF, even with .GIF files with frames with different delays per frame.

Either, something is wrong with my loop, handling the drawing of the Pixbuf
(which I wouldn't doubt), or the IntPtr.Zero just won't work in this case.

Thank you for your suggestion though. I will take a closer look at my
loping.
~MrFreeman
-- 
View this message in context: http://mono.1490590.n4.nabble.com/GTK-and-PixbufAnimation-iteration-tp3301803p3302333.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list