Add a ScrollView widget in Python.
from tkinter import *
from tkinter import scrolledtext
window = Tk()
window.title("Welcome to Coding Block!")
window.geometry('350x200')
text = scrolledtext.ScrolledText(window,width=40,height=10)
text.grid(column=0,row=0)
window.mainloop()
OUTPUT
No comments:
Post a Comment
Please do not any spam link in Comment Box