Hide text in entry box when i click on it.(GUI using Tkinter in python)

hmmeeranrizvi18 at gmail.com hmmeeranrizvi18 at gmail.com
Wed Jan 25 02:45:01 EST 2017


Hello Guys,
Here i am creating a entry box with some text,i need to hide the text when i click on it.
Here is my code

from Tkinter import *
obj = Tk()
b = Entry(obj,width=100)
b.insert(0,"Enter the value to search")
b.pack()
mainloop()




More information about the Python-list mailing list