code: def _on_move(self, event):
          
          w = self.winfo_width()
          x = min(max(event.x, 0), w)
          self.coords('cursor', x, 0, x, self.winfo_height())
          self._variable.set(round2((360. * x) / w))
docs: Make selection cursor follow the cursor.