frame.grid(row=0, column=0)
canvas = Canvas(frame, bg='#FFFFFF', width=300, height=300, scrollregion=(0,
    0, 500, 500))
hbar = Scrollbar(frame, orient=HORIZONTAL)
hbar.pack(side=BOTTOM, fill=X)
hbar.config(command=canvas.xview)
vbar = Scrollbar(frame, orient=VERTICAL)
vbar.pack(side=RIGHT, fill=Y)
vbar.config(command=canvas.yview)
canvas.config(width=300, height=300)
canvas.config(xscrollcommand=hbar.set, yscrollcommand=vbar.set)
canvas.pack(side=LEFT, expand=True, fill=BOTH)
root.mainloop()
python и tkinter: использование полос прокрутки на холсте