Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python Entry default text

import tkinter as tk
root = tk.Tk()
root.geometry("200x100")

textExample = tk.Entry(root)
textExample.insert(0, "Default Text")
textExample.pack()

root.mainloop()
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #python #Entry #default #text
ADD COMMENT
Topic
Name
1+9 =