In this video we will discuss Text boxes in Tkinter, in which we can insert multiple lines.
Source code:
from tkinter import *
root = Tk()
root.geometry("800x600")
root.title("Text Box")
l1=Label(root,text="Multiline Text Box",font=("calibri",16),fg="Blue",bg="pink").pack(pady=20)
Textbox1=Text(root,width=30,height=10,font=("calibri",16),fg="Blue",bg="pink")
Textbox1.pack()
def clear():
Textbox1.delete(1.0,END)
clear_button=Button(root,text="Click to clear the text box",command=clear,font=("calibri",16),fg="Blue",bg="pink")
clear_button.pack()
def getdata():
l1.config(text=Textbox1.get(1.0,END))
getdata_button=Button(root,text="Click to getdata the text box",command=getdata,font=("calibri",16),fg="Blue",bg="pink")
getdata_button.pack()
l1=Label(root,text="",font=("calibri",16),fg="Blue",bg="pink")
l1.pack(pady=20)
root.mainloop()
tkinter,python tkinter,tkinter library,tkinter course,tkinter tutorial,user interface,good tkinter application,graphic user interface,graphical user interface,gui software,how to program a tkinter application,mainloop,ui design,create gui,python project for beginners,gui program,application,programming,python file,extract text from pdf,gui,python project,how to program,command prompt,gui application,atom,create python gui,python programming
En esta página del sitio puede ver el video en línea TKINTER GUIs IN PYTHON| Text Boxes In Python | Tutorial#17 de Duración hora minuto segunda en buena calidad , que subió el usuario Minati panda 17 marzo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 158 veces y le gustó like a los espectadores. Disfruta viendo!