MCPcopy Index your code
hub / github.com/python/cpython / after_idle

Method after_idle

Lib/tkinter/__init__.py:894–900  ·  view source on GitHub ↗

Call FUNC once if the Tcl main loop has no event to process. Return an identifier to cancel the scheduling with after_cancel.

(self, func, *args, **kw)

Source from the content-addressed store, hash-verified

892 return self.tk.call('after', ms, name)
893
894 def after_idle(self, func, *args, **kw):
895 """Call FUNC once if the Tcl main loop has no event to
896 process.
897
898 Return an identifier to cancel the scheduling with
899 after_cancel."""
900 return self.after('idle', func, *args, **kw)
901
902 def after_cancel(self, id):
903 """Cancel scheduling of function identified with ID.

Callers 9

_ontimerMethod · 0.80
_adjustMethod · 0.80
test_after_idleMethod · 0.80
test_after_cancelMethod · 0.80
test_after_infoMethod · 0.80
test_mainloopMethod · 0.80
__init__Method · 0.80
set_status_barMethod · 0.80
addMethod · 0.80

Calls 1

afterMethod · 0.95

Tested by 4

test_after_idleMethod · 0.64
test_after_cancelMethod · 0.64
test_after_infoMethod · 0.64
test_mainloopMethod · 0.64