How to run function 5 seconds after pygtk widget is shown?
If the time is not critical to be exact to the tenth of a second, use
glib.timeout_add_seconds(5, ..)
else as above.
timeout_add_seconds allows the system to align timeouts to other events, in the long run reducing CPU wakeups (especially if the timeout is reocurring) and save energy for the planet(!)