def _auto_set_column_width(self, col, renderer):
cells = [key for key in self._cells if key[<NUM_LIT:1>] == col]<EOL>width = <NUM_LIT:0><EOL>for cell in cells:<EOL><INDENT>c = self._cells[cell]<EOL>width = max(c.get_required_width(renderer), width)<EOL><DEDENT>for cell in cells:<EOL><INDENT>self._cells[cell].set_width(width)<EOL><DEDENT>
Automagically set width for column.