code: def select_star_cb(self, widget, res_dict):
          
          keys = list(res_dict.keys())
          if len(keys) == 0:
              self.selected = []
              self.replot_stars()
          else:
              idx = int(keys[0])
              star = self.starlist[idx]
              if not self._select_flag:
                  self.mark_selection(star, fromtable=True)
          return True
docs: This method is called when the user selects a star from the table.