Shift the view left or right by number units. what is either 'units' or 'pages'; a negative number scrolls left and a positive one scrolls right. The Text widget accepts also 'pixels', and then number can be a screen distance, such as '1i'.
tkinter/XView.xview_scroll
XView.xview_scroll