Re: canvas



On Wed, 2 Feb 2000 u07ih@abdn.ac.uk wrote:

> >   gtk_timeout_add( 800, timefunc, NULL ); 
> >   
> >   gtk_main();
> >   
> >   return 0;
> > }
> > -----------------------------						
> > 
> > I'm sure that I missed doing something important.
> > But what?
> 
> This is a wild stab in the dark, but the canvas does it's drawing in an idle
> function so maybe the 800, is too short a time for there to be an idle function
> called. Does it work if the 800 is increased?
> 
> iain

My experience with this is that it doesn't make a difference :) have a 
really 'fast' timeout (e.g. '100' or something) will just mean the 
next timeout gets run after the prior one is done. At least thats what it 
felt like when I did something similiar :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]