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

2019-05-31 Thread Chris Angelico
On Sat, Jun 1, 2019 at 5:11 AM wrote: > > NOT WORKING IN MINE PLZ HELP > > > > from tkinter import * > g=Tk() > g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), > g.winfo_screenheight())) > g.title("Check") > g.configure(background='powder blue') > > > def clear_search(event): > e1.dele

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

2019-05-31 Thread Rhodri James
On 31/05/2019 20:08, sakshamrahej...@gmail.com wrote: NOT WORKING IN MINE PLZ HELP from tkinter import * g=Tk() ^^ g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), g.winfo_screenheight())) g.title("Check") g.configure(background='powder blue') def clear_search(event): e1.del

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

2019-05-31 Thread sakshamraheja11
NOT WORKING IN MINE PLZ HELP from tkinter import * g=Tk() g.geometry("{0}x{1}+0+0".format(g.winfo_screenwidth(), g.winfo_screenheight())) g.title("Check") g.configure(background='powder blue') def clear_search(event): e1.delete(0, tk.END) e1=Entry(g) e1.insert(0,'username') e1.pack() e1

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

2019-05-31 Thread sakshamraheja11
Not happening in mine -- https://mail.python.org/mailman/listinfo/python-list

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

2017-11-11 Thread tonysmart . ct
Thanks it was helpful -- https://mail.python.org/mailman/listinfo/python-list

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

2017-01-25 Thread Christian Gollwitzer
Am 25.01.17 um 10:18 schrieb Peter Otten: hmmeeranrizv...@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. search.bind("", clear_search) This is the correct answer for a mouse click. The typical use case (disappearing

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

2017-01-25 Thread hmmeeranrizvi18
On Wednesday, January 25, 2017 at 1:15:11 PM UTC+5:30, hmmeera...@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 t

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

2017-01-25 Thread Peter Otten
hmmeeranrizv...@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() You nee

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

2017-01-24 Thread hmmeeranrizvi18
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() -- https://mail.python.org/mailman/listinfo/python-list