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

From: rh ronny at get-intouch.com
Date: Wed Sep 7 07:20:51 EEST 2005
> 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


Hi,
My loop is in another function (not in main function).
The only parameter type for that function is HildonApp
which is sent from main function, because I want to create a new
HildonAppView in that function.
Howto use gtk_main_iteration() in that function ?

Ronny
_______________________________________________
maemo-developers mailing list
maemo-developers at maemo.org
https://maemo.org/mailman/listinfo/maemo-developers



More information about the maemo-developers mailing list