Wednesday, August 5, 2020

Write a Program Add a ScrollView widget in Python.

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

Add a ScrollView widget
 ScrollView in Python



No comments:

Post a Comment

Please do not any spam link in Comment Box