parameters: (self, names)
docstring: Set the list of selected workspaces and update the workspace slider
          length.
  
          Args:
              names (list(str)): list if the workspace names
docstring_summary: Set the list of selected workspaces and update the workspace slider
          length.
docstring_tokens: Set the list of selected workspaces and update the workspace slider length .
function: def set_workspaces_list(self, names):
          """
          Set the list of selected workspaces and update the workspace slider
          length.
  
          Args:
              names (list(str)): list if the workspace names
          """
          self._side_view.workspacesList.blockSignals(True)
          self._side_view.workspacesList.clear()
          for name in names:
              item = WorkspaceItem(self._side_view.workspacesList, name)
              item.signals.sig_del_clicked.connect(
                      self._presenter.on_del_button_clicked)
              item.setText(0, name)
          self._side_view.workspacesList.blockSignals(False)
function_tokens: def set_workspaces_list ( self , names ) : self . _side_view . workspacesList . blockSignals ( True ) self . _side_view . workspacesList . clear ( ) for name in names : item = WorkspaceItem ( self . _side_view . workspacesList , name ) item . signals . sig_del_clicked . connect ( self . _presenter . on_del_button_clicked ) item . setText ( 0 , name ) self . _side_view . workspacesList . blockSignals ( False )