Allows a polled timer to be set for a future event. The timeout values are suitable for passing to g_obj_wait() or poll().