TKINTER GUIs IN PYTHON| Text Boxes In Python | Tutorial#17

Published: 17 March 2021
on channel: Minati panda
158
like

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


On this page of the site you can watch the video online TKINTER GUIs IN PYTHON| Text Boxes In Python | Tutorial#17 with a duration of hours minute second in good quality, which was uploaded by the user Minati panda 17 March 2021, share the link with friends and acquaintances, this video has already been watched 158 times on youtube and it was liked by like viewers. Enjoy your viewing!