code: def operate_selected_rows(self, operator):
          '''对选中的条目进行操作.
  
          operator  - 处理函数
          '''
          model, tree_paths = self.selection.get_selected_rows()
          if not tree_paths:
              return
          fids = []
          for tree_path in tree_paths:
              fids.append(model[tree_path][FID_COL])
          for fid in fids:
              row = self.get_row_by_fid(fid)
              if row:
                  operator(rowf operate_selected_rows(self, operator):
          '''对选中的条目进行操作.
  
          operator  - 处理函数
          '''
          model, tree_paths = self.selection.get_selected_rows()
          if not tree_paths:
              return
          fids = []
          for tree_path in tree_paths:
              fids.append(model[tree_path][FID_COL])
          for fid in fids:
              row = self.get_row_by_fid(fid)
              if row:
                  operator(row)
docs: 对选中的条目进行操作.
  
          operator  - 处理函数