Use Entry : TextField Entry : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » TextField Entry »

 

Use Entry


Use Entry
 

from Tkinter import *

root = Tk()

root.title('Entry')
Label(root, text="Label:").pack(side=LEFT, padx=5, pady=10)
e = StringVar()
Entry(root, width=40, textvariable=e).pack(side=LEFT)
e.set("'Text Text Text Text'")
root.mainloop()


           
         
  



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» TextField Entry