from tkinter import *
ak = Tk()
ak.geometry("500x300")
scroll = Scrollbar(ak)
scroll.pack(side=RIGHT,fill=Y)
text = Text(ak,yscrollcommand=scroll.set)
text.pack(fill=BOTH)
scroll.config(command=text.yview)
ak.mainloop()
Don't worry World will Teach U
Comments
Post a Comment