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

Method ondestroy

tools/python-3.11.9-amd64/Lib/turtle.py:448–449  ·  view source on GitHub ↗
(self, destroy)

Source from the content-addressed store, hash-verified

446 self.geometry("%dx%d%+d%+d"%(width, height, startx, starty))
447
448 def ondestroy(self, destroy):
449 self.wm_protocol("WM_DELETE_WINDOW", destroy)
450
451 def win_width(self):
452 return self.winfo_screenwidth()

Callers 1

__init__Method · 0.80

Calls 1

wm_protocolMethod · 0.80

Tested by

no test coverage detected