MCPcopy Create free account
hub / github.com/Image-Py/imagepy / on_close

Method on_close

imagepy/ui/mainframe.py:204–210  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

202 self.canvasnb.set_background(img)
203
204 def on_close(self, event):
205 print('close')
206 ConfigManager.write()
207 self.auimgr.UnInit()
208 del self.auimgr
209 self.Destroy()
210 sys.exit()
211
212 def __del__( self ):
213 pass

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected