title: How to insert hint inside entry box - Tkinter Entry Widget
body: <p>I am trying to build a login screen, but I don't know how to place a hint inside the entry widget which shows the user what he or she will have to do.</p>
  <p>The text inside the entry widget should be deleted when the user clicks on it.</p>
  <p>Can somebody please help?</p>
  <pre><code>login_screen    = tk.Tk()
  login_screen.title(&quot;Login&quot;)
  
  login_screen.geometry(&quot;1200x700&quot;)
  login_screen.resizable(False, False)
  
  email_var       = tk.StringVar()
  password_var    = tk.StringVar()
   
  def registration():
      email       = email_var.get()
      password    = password_var.get()
       
      print(&quot;Email : &quot; + email)
      print(&quot;Password : &quot; + password)
       
      email_var.set(&quot;&quot;)
      password_var.set(&quot;&quot;)
  
  frame = LabelFrame(login_screen, text = &quot;Login: &quot;, pady = 10, padx = 10)
  frame.grid(row = 0, column = 0, padx = 30, pady = 30)
  
  name_label         = tk.Label(frame, text = 'Email', font=('arial',10, 'bold'))
  name_label.grid(row=1,column=1, sticky = tk.W, padx = 5, pady = 5)
  
  password_label     = tk.Label(frame, text = 'Password', font = ('arial',10,'bold'))
  password_label.grid(row=2,column=1, sticky = tk.W, padx = 5, pady = 5)
  
  entry_name         = tk.Entry(frame,textvariable = email_var, font=('arial',10,'normal'))
  entry_name.grid(row=1,column=2, sticky = tk.W, padx = 5, pady = 5)
  
  entry_password     = tk.Entry(frame, textvariable = password_var, font = ('arial',10,'normal'), show = '*')
  entry_password.grid(row=2,column=2, sticky = tk.W, padx = 5, pady = 5)
  
  submit_button      = tk.Button(frame,text = 'Submit', font = ('arial', 10, 'normal'), command = login) #davor ,command = registration
  submit_button.grid(row=3,column=2)
  
  login_screen.mainloop()
  </code></pre>