Re: image update



I am working in images with pifbuf and gtkimage. I want draw other
image using the composite method. The problem is when use this method
the pifbuf don´t update well.

Solved making the widget visible to false and after making the visible
true.
a better method?


 What is the type of widget you are rendering to?

If it's a drawing area (and I think it's the best suited one for this kind
of stuff) you should do your drawing inside an "expose" event handler.

-- 
Bye,
 Gabry



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