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

Method on_idle

imagepy/ui/tablewindow.py:265–275  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

263 print('grid deleted!!!')
264
265 def on_idle(self, event):
266 if not self.IsShown() or self.tps is None\
267 or self.tps.dirty == False: return
268 if self.tps.dirty == 'shp':
269 self.select()
270 self.Reset()
271 if self.tps.dirty == True:
272 self.select()
273 self.ForceRefresh()
274 self.tps.dirty = False
275 print('update')
276
277
278#---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

selectMethod · 0.95
ResetMethod · 0.95

Tested by

no test coverage detected