Refreshing a GtkImage



Hi,

I've used:

gtk_image_get_pixbuf()
gtk_pixbuf_get_pixels()

to get the pixels of an image. Modified them. Now I want the GtkImage to reflect the new pixel values. How do I update the GtkImage?

I've tried gdk_flush() but it didn't have any effect.

Thanks.

Steve.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]