parameters: (self, grid)
docstring: wx.Grid -> update the column attributes to add the
          appropriate renderer given the column name.  (renderers
          are stored in the self.plugins dictionary)
  
          Otherwise default to the default renderer.
docstring_summary: wx.Grid -> update the column attributes to add the
          appropriate renderer given the column name.  (renderers
          are stored in the self.plugins dictionary)
docstring_tokens: wx . Grid - > update the column attributes to add the appropriate renderer given the column name . ( renderers are stored in the self . plugins dictionary )
function: def _updateColAttrs(self, grid):
          """
          wx.Grid -> update the column attributes to add the
          appropriate renderer given the column name.  (renderers
          are stored in the self.plugins dictionary)
  
          Otherwise default to the default renderer.
          """
          col = 0
  
          for colname in self.colnames:
              attr = Grid.GridCellAttr()
              if colname in self.plugins:
                  renderer = self.plugins[colname](self)
  
                  if renderer.colSize:
                      grid.SetColSize(col, renderer.colSize)
  
                  if renderer.rowSize:
                      grid.SetDefaultRowSize(renderer.rowSize)
  
                  attr.SetReadOnly(True)
                  attr.SetRenderer(renderer)
  
              grid.SetColAttr(col, attr)
              col += 1
function_tokens: def _updateColAttrs ( self , grid ) : col = 0 for colname in self . colnames : attr = Grid . GridCellAttr ( ) if colname in self . plugins : renderer = self . plugins [ colname ] ( self ) if renderer . colSize : grid . SetColSize ( col , renderer . colSize ) if renderer . rowSize : grid . SetDefaultRowSize ( renderer . rowSize ) attr . SetReadOnly ( True ) attr . SetRenderer ( renderer ) grid . SetColAttr ( col , attr ) col += 1