Add polling for window events (i.e., callbacks) to the window example