MCPcopy Index your code
hub / github.com/RustPython/RustPython / destroy

Method destroy

Lib/tkinter/__init__.py:2501–2509  ·  view source on GitHub ↗

Destroy this and all descendants widgets. This will end the application of this Tcl interpreter.

(self)

Source from the content-addressed store, hash-verified

2499 self.protocol("WM_DELETE_WINDOW", self.destroy)
2500
2501 def destroy(self):
2502 """Destroy this and all descendants widgets. This will
2503 end the application of this Tcl interpreter."""
2504 for c in list(self.children.values()): c.destroy()
2505 self.tk.call('destroy', self._w)
2506 Misc.destroy(self)
2507 global _default_root
2508 if _support_default_root and _default_root is self:
2509 _default_root = None
2510
2511 def readprofile(self, baseName, className):
2512 """Internal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into

Callers 12

_is_gui_availableFunction · 0.95
executeNotebookFunction · 0.45
detachMethod · 0.45
goMethod · 0.45
_destroy_temp_rootFunction · 0.45
_setupMethod · 0.45
destroyMethod · 0.45
destroyMethod · 0.45
ensure_destroyedMethod · 0.45
ensure_destroyedMethod · 0.45
clean_upMethod · 0.45

Calls 3

listClass · 0.85
valuesMethod · 0.45
callMethod · 0.45

Tested by 2

ensure_destroyedMethod · 0.36