From: Jack Jansen Date: Fri, 10 Nov 1995 14:48:36 +0000 (+0000) Subject: Added idle() method, called when no events are available. X-Git-Tag: v1.4b1~497 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38186782e59908ad07c0c40d117a19501a43b459;p=thirdparty%2FPython%2Fcpython.git Added idle() method, called when no events are available. --- diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index c32651c33483..e4aa03440d97 100644 --- a/Mac/Lib/FrameWork.py +++ b/Mac/Lib/FrameWork.py @@ -126,6 +126,11 @@ class Application: return if ok: self.dispatch(event) + else: + self.idle() + + def idle(self): + pass def getevent(self, mask = everyEvent, wait = 0): ok, event = WaitNextEvent(mask, wait)