code: def _update_settings(self, dialect):
          
  
          # the first parameter is the dialect itself --> ignore
          for parameter in self.csv_params[2:]:
              pname, ptype, plabel, phelp = parameter
  
              widget = self._widget_from_p(pname, ptype)
  
              if ptype is types.TupleType:
                  ptype = types.ObjectType
  
              digest = Digest(acceptable_types=[ptype])
  
              if pname == 'self.has_header':
                  if self.has_header is not None:
                      widget.SetValue(digest(self.has_header))
              else:
                  value = getattr(dialect, pname)
                  widget.SetValue(digest(value))
docs: Sets the widget settings to those of the chosen dialect