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

Method select

imagepy/ui/tablewindow.py:250–260  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 self.handle(self.tps)
249
250 def select(self):
251 self.Bind(Grid.EVT_GRID_RANGE_SELECT, None)
252 self.ClearSelection()
253 print('select grid')
254 for i in self.tps.data.index.get_indexer(self.tps.rowmsk):
255 print(i)
256 self.SelectRow(i, True)
257 for i in self.tps.data.columns.get_indexer(self.tps.colmsk):
258 print(i)
259 self.SelectCol(i, True)
260 self.Bind(Grid.EVT_GRID_RANGE_SELECT, self.on_select)
261
262 def __del__(self):
263 print('grid deleted!!!')

Callers 3

on_idleMethod · 0.95
on_selectMethod · 0.45
runMethod · 0.45

Calls 1

BindMethod · 0.45

Tested by

no test coverage detected