master = Tk()
w = Text(master, height=1, borderwidth=0)
w.insert(1.0, 'Hello, world!')
w.pack()
w.configure(state='disabled')
w.configure(inactiveselectbackground=w.cget('selectbackground'))
mainloop()
In python's tkinter, how can I make a Label such that you can select the text with the mouse?