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

From: rh ronny at get-intouch.com
Date: Mon Sep 5 10:53:57 EEST 2005
Hi,
Yes, my code is like what you think. :D
I create & display images recursively,
with different size & location in every iteration.
And I give delay 500ms for every iteration.

Do you have an example to draw the gui interface
with an area for the image, and swith the one to slideshow
using the circle ?
Or maybe you have website url to learn more 
and solve this problem ?

Thanks
Ronny
 
----- Original Message ----- 
From: <ml_sergico at virgilio.it>
To: <ronny at get-intouch.com>
Sent: Monday, September 05, 2005 2:33 PM
Subject: R: Re: [maemo-developers] show pictures with delay


> Hi,
> I'm sorry, but I don't understand your code... :(
> The snapshot 
> shows one function myview(...)
> that is called recursively (it seems to 
> me), because of the final if(myinc>0), after the delay...
> Why don't you 
> draw the gui interface with an area for the image, and switch the one 
> to slideshow using a cicle? 
> Remember however that you can't simply 
> something like:
> 
> while(mycount>0) {
>  show_my_image(mycount);
>  usleep
> (my_delay);
> } 
> 
> because that way you block the main gtk event loop.
> Regards
>   
> 
>      Sergio


More information about the maemo-developers mailing list