I need to modify a GLib’s time-out interval while it is in execution. Is that possible? I took a look to the source code and it seems possible to me, but is required use some non-public functions from GLib internals. Should I reimplement GTimeoutSource or there are a way to do it?
Share
In your timeout function, you could re-add the function with the new timeout interval and then return
FALSEto remove the timeout with the old interval: