def run(self, ips, imgs, para=None): RoiManager.add(para['name'], ips.roi)
def on_end_edit(self, event): end = event.GetText() if end == self.begin or end == '': return RoiManager.add(end, RoiManager.get(self.begin)) RoiManager.remove(self.begin) self.UpdateData()