MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / after_idle

Method after_idle

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:875–881  ·  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)

Source from the content-addressed store, hash-verified

873 return self.tk.call('after', ms, name)
874
875 def after_idle(self, func, *args):
876 """Call FUNC once if the Tcl main loop has no event to
877 process.
878
879 Return an identifier to cancel the scheduling with
880 after_cancel."""
881 return self.after('idle', func, *args)
882
883 def after_cancel(self, id):
884 """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_mainloopMethod · 0.80
__init__Method · 0.80
set_status_barMethod · 0.80
addMethod · 0.80
c_quitMethod · 0.80

Calls 1

afterMethod · 0.95

Tested by 3

test_after_idleMethod · 0.64
test_after_cancelMethod · 0.64
test_mainloopMethod · 0.64