(self, event)
return
Handle ctrl clicks for multiple row selections
Handle ctrl clicks for multiple row selections
Handle ctrl clicks for multiple row selections
def handle_left_ctrl_click(self, event):
        """Handle ctrl clicks for multiple row selections"""
        rowclicked = self.get_row_clicked(event)
        colclicked = self.get_col_clicked(event)
        if 0 <= rowclicked < self.rows and 0 <= colclicked < self.cols:
            if rowclicked not in self.multiplerowlist:
                self.multiplerowlist.append(rowclicked)
            else:
                self.multiplerowlist.remove(rowclicked)
            self.drawMultipleRows(self.multiplerowlist)
            if colclicked not in self.multiplecollist:
                self.multiplecollist.append(colclicked)
            #print self.multiplecollist
            self.drawMultipleCells()
        return
def handle_left_ctrl_click ( self , event ) : rowclicked = self . get_row_clicked ( event ) colclicked = self . get_col_clicked ( event ) if 0 <= rowclicked < self . rows and 0 <= colclicked < self . cols : if rowclicked not in self . multiplerowlist : self . multiplerowlist . append ( rowclicked ) else : self . multiplerowlist . remove ( rowclicked ) self . drawMultipleRows ( self . multiplerowlist ) if colclicked not in self . multiplecollist : self . multiplecollist . append ( colclicked ) #print self.multiplecollist self . drawMultipleCells ( ) return