(self)
return
User has clicked to select a cell
User has clicked to select a cell
User has clicked to select a cell
def drawRowHeader(self):
        """User has clicked to select a cell"""
        self.delete('rowheader')
        x_start=self.x_start
        y_start=self.y_start
        h=self.rowheight
        rowpos=0
        for row in self.rowrange:
            x1,y1,x2,y2 = self.getCellCoords(rowpos,0)
            self.create_rectangle(0,y1,x_start-2,y2,
                                      fill='gray75',
                                      outline='white',
                                      width=1,
                                      tag='rowheader')
            self.create_text(x_start/2,y1+h/2,
                                      text=row+1,
                                      fill='black',
                                      font=self.thefont,
                                      tag='rowheader')
            rowpos+=1
        return
def drawRowHeader ( self ) : self . delete ( 'rowheader' ) x_start = self . x_start y_start = self . y_start h = self . rowheight rowpos = 0 for row in self . rowrange : x1 , y1 , x2 , y2 = self . getCellCoords ( rowpos , 0 ) self . create_rectangle ( 0 , y1 , x_start - 2 , y2 , fill = 'gray75' , outline = 'white' , width = 1 , tag = 'rowheader' ) self . create_text ( x_start / 2 , y1 + h / 2 , text = row + 1 , fill = 'black' , font = self . thefont , tag = 'rowheader' ) rowpos += 1 return