def __init__(self, grid): Actions.__init__(self, grid) self.saving = False self.main_window.Bind(self.EVT_CMD_GRID_ACTION_OPEN, self.open) self.main_window.Bind(self.EVT_CMD_GRID_ACTION_SAVE, self.save)
def __init__(self, grid): Actions.__init__(self, grid) self.code_array = grid.code_array self.prev_rowcol = [] # Last mouse over cell self.main_window.Bind(self.EVT_CMD_GRID_ACTION_NEW, self.new) self.main_window.Bind(self.EVT_CMD_GRID_ACTION_TABLE_SWITCH, self.switch_to_table)
def __init__(self, grid): Actions.__init__(self, grid) # The pys file version that are expected. # The latter version is created self.pys_versions = ["0.1"] self.saving = False self.main_window.Bind(self.EVT_CMD_GRID_ACTION_OPEN, self.open) self.main_window.Bind(self.EVT_CMD_GRID_ACTION_SAVE, self.save)
def __init__(self, grid): Actions.__init__(self, grid) # The pys file version that are expected. # The latter version is created self.pys_versions = ["0.1"] self.saving = False self.main_window.Bind(self.EVT_CMD_GRID_ACTION_OPEN, self.open) self.main_window.Bind(self.EVT_CMD_GRID_ACTION_SAVE, self.save) self.type2interface = { "pys": Pys, "xls": Xls, }