'Apply the exported widget state'

def apply_state(self, state):

    try:
        column_widths = state[u'column_widths']
    except (KeyError, ValueError):
        column_widths = None
    if column_widths:
        self.set_column_widths(column_widths)
    else:
        self._adjust_columns = True
    return True
