[maemo-developers] [maemo-developers] show pictures with delay

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Thu Sep 1 16:21:48 EEST 2005
2005/9/1, rh <ronny at get-intouch.com>:
>  
> Hi all, 
>   
> I have a problem.
> I have 8 pictures & I want to display those pictures one by one in one
> GtkImage, with 500ms delay in every picture.
> I try to refresh my Hildonapp, Hildonappview & GtkImage every 500 ms
> automatically (loop),

If that loop isn't in a separate thread or doesn't do

  while (gtk_main_iteration() );

in the loop, then it most definetly won't update the screen as the
execution of code is stuck waiting for your loop to finish before it
can update the screen again.

-- 
Kalle Vahlman, zuh at iki.fi

More information about the maemo-developers mailing list