def _on_edit_cell(self, send, alias, row_index): self.edited_cells = True self.dialog.component_changes(self, False) if not send: return if 'EDITED_CELL|' not in self.supported_events: return self.used_listeners_mask |= 64 ev = cell_edited_event(self, 'EDITED_CELL', alias, row_index) self.dialog.app.send_events(ev)
def button_num_code_click(self, alias, row_index, value): self.edit_cell(alias, row_index, value, _skip_event=True) self.edited_cells = True self.dialog.component_changes(self, False) if 'BUTTON_NUM_CODE|' not in self.supported_events: return self.used_listeners_mask |= 64 ev = cell_edited_event(self, 'BUTTON_NUM_CODE', alias, row_index) self.dialog.app.send_events(ev)