Add an example of a scheduler used to run tasks on the GTK main loop