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

Method destroy

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

2381 self.protocol("WM_DELETE_WINDOW", self.destroy)
2382
2383 def destroy(self):
2384 """Destroy this and all descendants widgets. This will
2385 end the application of this Tcl interpreter."""
2386 for c in list(self.children.values()): c.destroy()
2387 self.tk.call('destroy', self._w)
2388 Misc.destroy(self)
2389 global _default_root
2390 if _support_default_root and _default_root is self:
2391 _default_root = None
2392
2393 def readprofile(self, baseName, className):
2394 """Internal function. It reads .BASENAME.tcl and .CLASSNAME.tcl into

Callers 4

_destroy_temp_rootFunction · 0.45
_setupMethod · 0.45
destroyMethod · 0.45
destroyMethod · 0.45

Calls 3

listFunction · 0.85
callMethod · 0.80
valuesMethod · 0.45

Tested by

no test coverage detected