code: def operate_selected_rows(self, operator):
          '''对选中的条目进行操作.
  
          operator  - 处理函数
          '''
          model, tree_paths = self.selection.get_selected_rows()
          if not tree_paths:
              return
          fs_ids = []
          for tree_path in tree_paths:
              fs_ids.append(model[tree_path][FSID_COL])
          for fs_id in fs_ids:
              row = self.get_row_by_fsid(fs_id)
              if not row:
                  return
              operator(row, scan=False)
          self.check_commit(force=True)
          self.scan_tasks(ignore_shutdown=Truef operate_selected_rows(self, operator):
          '''对选中的条目进行操作.
  
          operator  - 处理函数
          '''
          model, tree_paths = self.selection.get_selected_rows()
          if not tree_paths:
              return
          fs_ids = []
          for tree_path in tree_paths:
              fs_ids.append(model[tree_path][FSID_COL])
          for fs_id in fs_ids:
              row = self.get_row_by_fsid(fs_id)
              if not row:
                  return
              operator(row, scan=False)
          self.check_commit(force=True)
          self.scan_tasks(ignore_shutdown=True)
docs: 对选中的条目进行操作.
  
          operator  - 处理函数