(self, row=None, col=None, recname=None, colname=None)
return
Redraw a specific cell only
Redraw a specific cell only
Redraw a specific cell only
def redrawCell(self, row=None, col=None, recname=None, colname=None):
        """Redraw a specific cell only"""

        if row == None and recname != None:
            row = self.model.getRecordIndex(recname)
        if col == None and colname != None:
            col = self.model.getColumnIndex(colname)
        bgcolor = self.model.getColorAt(row,col, 'bg')
        fgcolor = self.model.getColorAt(row,col, 'fg')
        text = self.model.getValueAt(row,col)
        self.drawText(row, col, text, fgcolor)
        if bgcolor != None:
            self.drawRect(row,col, color=bgcolor)
        return
def redrawCell ( self , row = None , col = None , recname = None , colname = None ) : if row == None and recname != None : row = self . model . getRecordIndex ( recname ) if col == None and colname != None : col = self . model . getColumnIndex ( colname ) bgcolor = self . model . getColorAt ( row , col , 'bg' ) fgcolor = self . model . getColorAt ( row , col , 'fg' ) text = self . model . getValueAt ( row , col ) self . drawText ( row , col , text , fgcolor ) if bgcolor != None : self . drawRect ( row , col , color = bgcolor ) return