gtk_timeout_add functionality



I want to call a compute-intensive function as fast as possible.
gtk_timeout_add doesn't appear to let me do this. 
If I set the interval too small (e.g. 1) the function doesn't get called. 
I tried setting the interval to 0 or -1 in case this would do what I want but no luck. 

I can guess/test the minimum interval to use, but this will vary.
Is there some other way to have the GTK-main loop call a function as fast as possible?

Or, could someone add this to gtk_timeout_add?

-- Peter Rowat



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