noob here trying to create a simple entry with tkinter , so the pre-entered text "Enter your name here" is highlighted. The user can then just types their name ( or hit delete to remove the content...) is there any simple argument / method to use with ENTRY ?
from tkinter import *
root = Tk()
lbl1 = Label ( root, text = "Let's Play together")
lbl2 = Label ( root, text = "What's your Name ? ")
lbl1.grid( row=0, column=0)
lbl2.grid (row=1, column=0)
nameplayer = Entry(root, width=25, )
nameplayer.insert(0,"Enter your name here ")
nameplayer.grid(row=2, column=0)
root.mainloop()
thanks !!