[gtkada] gtkada Digest, Vol 37, Issue 4

Nicolas Setton setton at adacore.com
Fri Apr 20 13:57:32 CEST 2007


On Apr 20, 2007, at 13:45 , Hervé Guillaume wrote:

> Dmitry :
> I have tried your proposition : Queue_Draw on the Gtk_Image or on  
> Window. It doesn't work.
> I use Gtk_Image. It seems to me that using Gtk_Drawing_Area +  
> Gdk.RGB.Draw_Rgb_Image is slower, isn't it ?
> Nico :
> I'm not very good in Gtkada. I don't know how use Invalidate_Rect  
> (Gdk_Window) on a Gtk_Window

Try Get_Window on the Gtk_Image.

Note that, if you're using tasking, you might want to register a  
timeout callback to refresh your image in the main task.

Nico


More information about the gtkada mailing list