pub fn idle_add<F>(func: F) -> SourceId where
F: FnMut() -> Continue + 'static,
Adds a closure to be called by the default main loop when it's idle.
func will be called repeatedly until it returns
glib::idle_add but only callable from the main thread and
Send. It is the same as