RE: Re: Re: Re: Getting a Cairo context




25.03.2015, 18:09:41 пользователь Emmanuele Bassi (ebassi gmail com) написал:

> This is going
> to be my setup draw (axes, tickmarks, etc). Then because I use
> g_timeout_add_seconds() to fire up the thread, I'd have to change it to
> something like that

Why are you using a timeout to fire of a thread? Timeouts do not use a
separate thread: they are part of the main loop. Are you calling
g_thread_new() from a timeout callback?

I did this some time ago but someone advised me to simply use g_timeout() because what I want is to simply 
call a function once per a certain amount of time. Does it change anything?

I sense some underlying confusion, here.

No argument about that. :-)) I rarely program with GTK and do not have a strong hold of its deeps.


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