Tkinter.Canvas.scan_dragto

Canvas.scan_dragto(x, y, gain=10)[source]

Adjust the view of the canvas to GAIN times the difference between X and Y and the coordinates given in scan_mark.