[gtkada] Display images from video camera. Problem to refresh images
Nicolas Setton
setton at adacore.com
Fri Apr 20 10:27:05 CEST 2007
On Apr 20, 2007, at 09:18 , Dmitry A. Kazakov wrote:
> On Thu, 19 Apr 2007 19:07:09 +0200, you wrote:
>
>> I have a litlle problem to display images from a camera. I have
>> used tasking
>> for that. And it works almost. Images are displayed automaticaly
>> (like a
>> video or a diaporama) ... but only when I move the mouse on the
>> main window
>> ! If I don' touch the mouse or if I move the mouse but outside of
>> the area
>> drawn by the main window the image stay the same in spite of the
>> process
>> continue. As soon as I put the mouse in the main window and move
>> the cursor
>> the lastest images are displayed. I have tried to force the
>> display with
>> procedure like "show", "show_now" or "show_all" on the gtk_image
>> or on the
>> main window but it doesn't work. Anybody has a solution ?
>
> Queue_Draw?
Invalidate_Rect on the main window?
Nico
More information about the gtkada
mailing list