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 04:53:03 EST 2017


On Wednesday, January 25, 2017 at 1:15:11 PM UTC+5:30, hmmeera... at gmail.com wrote:
> 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()

Thanks Peter



More information about the Python-list mailing list