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

Method ondestroy

Lib/turtle.py:444–445  ·  view source on GitHub ↗
(self, destroy)

Source from the content-addressed store, hash-verified

442 self.geometry("%dx%d%+d%+d"%(width, height, startx, starty))
443
444 def ondestroy(self, destroy):
445 self.wm_protocol("WM_DELETE_WINDOW", destroy)
446
447 def win_width(self):
448 return self.winfo_screenwidth()

Callers 1

__init__Method · 0.80

Calls 1

wm_protocolMethod · 0.80

Tested by

no test coverage detected