Defined in pyglet.clock
Get the time until the next item is scheduled on the default clock.
See Clock.get_sleep_time for details.
|Parameters:||sleep_idle (bool) – If True, the application intends to sleep through its idle time; otherwise it will continue ticking at the maximum frame rate allowed.|
|Returns:||Time until the next scheduled event in seconds, or None if there is no event scheduled.|
Since pyglet 1.1