def do_idle(self, event): (what, message, when, where, modifiers) = event Qd.SetPort(self.wid) self.ted.WEIdle() if self.ted.WEAdjustCursor(where, BIGREGION): return Qd.SetCursor(Qd.GetQDGlobalsArrow())
def idle(self, event): if self.active: self.active.do_idle(event) else: Qd.SetCursor(Qd.GetQDGlobalsArrow())
def idle(self, *args): if self.active: self.active.do_idle() else: Qd.SetCursor(Qd.GetQDGlobalsArrow())