

def xview_scroll(self, *L):
    "Shift the view in the window left or right according to number and\n        what. The 'number' parameter must be an integer. The 'what' parameter\n        must be either units or pages or an abbreviation of one of these.\n\n        If 'what' is units, the view adjusts left or right by number cells on\n        the display; if it is pages then the view adjusts by number screenfuls.\n        If 'number' is negative then cells farther to the left become visible;\n        if it is positive then cells farther to the right become visible. "
    (op, howMany) = (L[0], L[1])
    if (op == 'scroll'):
        units = L[2]
        self.tk.call(self._w, 'xview', 'scroll', howMany, units)
    elif (op == 'moveto'):
        self.tk.call(self._w, 'xview', 'moveto', howMany)

dataset/ETHPy150Open Arelle/Arelle/arelle/TkTableWrapper.py Table.xview_scroll/original