Re: Refreshing a GtkImage



Dnia 22-10-2004, pią o godzinie 20:38 +0800, Steven Daniel Webb napisał:
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.

Tried gdk_window_invalidate_rect() ?

Cheers,
Maciej

-- 
"Tautologizm to coś tautologicznego"
   Maciej Katafiasz <mnews2 wp pl>
         http://mathrick.org




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