from Tkinter import *
def callback():
print e.get()
master=Tk()
e=Entry(master)
e.pack(anchor=C ENTER)
e.focus_set()
b=Button(master ,text="get",wid th=10,command=c allback)
b.pack(anchor=C ENTER)
master.mainloop ()
i want to show the entry button at the center of the window. How is it
possible ??
def callback():
print e.get()
master=Tk()
e=Entry(master)
e.pack(anchor=C ENTER)
e.focus_set()
b=Button(master ,text="get",wid th=10,command=c allback)
b.pack(anchor=C ENTER)
master.mainloop ()
i want to show the entry button at the center of the window. How is it
possible ??
Comment