code: def _on_leave(self, *args):
          
          if self.__clicked:
              self.config(foreground=self._clicked_color)
          else:
              self.config(foreground=self._normal_color)
          self.config(cursor="")
docs: Set the text color to either the normal color when not clicked or the clicked color when clicked.