PEATDB/Tables.py
def drawMultipleRows(self, rowlist):
        """Draw more than one row selection"""
        self.delete('multiplesel')
        for r in rowlist:
            if r > self.rows-1:
                continue
            x1,y1,x2,y2 = self.getCellCoords(r,0)
            x2=self.tablewidth
            rect = self.create_rectangle(x1,y1,x2,y2,
                                      fill=self.multipleselectioncolor,
                                      outline=self.rowselectedcolor,
                                      tag=('multiplesel','rowrect'))
        self.lower('multiplesel')
        self.lower('fillrect')
        return
Draw more than one row selection
Draw more than one row selection
Draw more than one row selection
def drawMultipleRows(self, rowlist):
        self.delete('multiplesel')
        for r in rowlist:
            if r > self.rows-1:
                continue
            x1,y1,x2,y2 = self.getCellCoords(r,0)
            x2=self.tablewidth
            rect = self.create_rectangle(x1,y1,x2,y2,
                                      fill=self.multipleselectioncolor,
                                      outline=self.rowselectedcolor,
                                      tag=('multiplesel','rowrect'))
        self.lower('multiplesel')
        self.lower('fillrect')
        return
def drawMultipleRows ( self , rowlist ) : self . delete ( 'multiplesel' ) for r in rowlist : if r > self . rows - 1 : continue x1 , y1 , x2 , y2 = self . getCellCoords ( r , 0 ) x2 = self . tablewidth rect = self . create_rectangle ( x1 , y1 , x2 , y2 , fill = self . multipleselectioncolor , outline = self . rowselectedcolor , tag = ( 'multiplesel' , 'rowrect' ) ) self . lower ( 'multiplesel' ) self . lower ( 'fillrect' ) return
Draw more than one row selection
Draw more than one row selection
"""Draw more than one row selection"""
self
rowlist