def OnEnterSelectionMode(self, event):
        """Event handler for entering selection mode, disables cell edits"""

        self.grid.sel_mode_cursor = list(self.grid.actions.cursor)
        self.grid.EnableDragGridSize(False)
        self.grid.EnableEditing(False)
def OnEnterSelectionMode ( self , event ) : self . grid . sel_mode_cursor = list ( self . grid . actions . cursor ) self . grid . EnableDragGridSize ( False ) self . grid . EnableEditing ( False )
Event handler for entering selection mode, disables cell edits