Keep selection on Tkinter Entry widget despite not having focus Keep selection on Tkinter Entry widget despite not having focus tkinter tkinter

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)