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

Function destroy_default_root

Lib/test/test_tkinter/support.py:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73
74
75def destroy_default_root():
76 if getattr(tkinter, '_default_root', None):
77 tkinter._default_root.update_idletasks()
78 tkinter._default_root.destroy()
79 tkinter._default_root = None
80
81def simulate_mouse_click(widget, x, y):
82 """Generate proper events to click at the x, y position (tries to act

Callers 4

setUpClassMethod · 0.85
setUpMethod · 0.85
tearDownMethod · 0.85
_test_widgetMethod · 0.85

Calls 2

update_idletasksMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…