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

Method destroy

Lib/tkinter/simpledialog.py:150–154  ·  view source on GitHub ↗

Destroy the window

(self)

Source from the content-addressed store, hash-verified

148 self.wait_window(self)
149
150 def destroy(self):
151 '''Destroy the window'''
152 self.initial_focus = None
153 Toplevel.destroy(self)
154 _destroy_temp_root(self.master)
155
156 #
157 # construction hooks

Callers 3

cancelMethod · 0.95
goMethod · 0.45
destroyMethod · 0.45

Calls 1

_destroy_temp_rootFunction · 0.90

Tested by

no test coverage detected