0
box=Text(window)
scrollbar=Scrollbar(window, orient=VERTICAL, command=box.yview)
scrollbar.pack(side=RIGHT, fill=Y)
box.config(yscrollcommand=scrollbar.set)

I have created a large program with tkinter to create graphical interface. I tried to add scrollbar but it doesn't work.

It doesn^t move up and down

Bryan Oakley
  • 370,779
  • 53
  • 539
  • 685
  • Hey, would you mind providing some detail along with the code? Otherwise your asnwer may be deleted. Thanks! – 10 Rep Oct 01 '20 at 23:17
  • There's a Scrolledtext widget that has the scrollbar in the Text widget that. Refer this: https://stackoverflow.com/questions/13832720/how-to-attach-a-scrollbar-to-a-text-widget – Rahul A Ranger Oct 02 '20 at 03:35

0 Answers0