Re: drawing area does not refresh

2006-05-10 Thread temp temp
Yes, but the problem is that I can't wait until the the handler is called. I want to be able to refresh it even if there is a pause just after my call to function. I am making a program treating images from a webcam. For reasons that would be long to explain, I need to be able to refresh the drawi

Re: drawing area does not refresh

2006-05-10 Thread Yeti
On Wed, May 10, 2006 at 09:29:31AM -0700, temp temp wrote: > I have a problem creating a function that will draw the contents of a buffer > into a drawing area. > > Here is the function I call when I want to draw the contents of "buffer" into > the drawingarea designated by "area": > > int draw

drawing area does not refresh

2006-05-10 Thread temp temp
Hi, I have a problem creating a function that will draw the contents of a buffer into a drawing area. Here is the function I call when I want to draw the contents of "buffer" into the drawingarea designated by "area": int draw_in_widget(GtkWidget *area,unsigned char* buffer,int img_height,int