Keep selection on Tkinter Entry widget despite not having focus
You want to set the exportselection
option of the text widget to False
text_widget.configure(exportselection=False)
You want to set the exportselection
option of the text widget to False
text_widget.configure(exportselection=False)