I would like to display an image using tkinter (Python 3). The image is very long. Therefore, I would like to add a vertical scrollbar. This is what I have tried:
(b
Set the scroll region of the canvas after you draw the image:
canvas.create_image(0, 0, image=img, anchor="nw") canvas.config(scrollregion=canvas.bbox(tkinter.ALL))