

def __init__(self, printer, lines, screenControl):
    self.printer = printer
    self.screenControl = screenControl
    self.numLines = len(lines)
    maxx.boxStartFraction = 0.0
    self.boxStopFraction = 0.0
    self.calcBoxFractions()
    self.activated = True
    (maxy, maxx) = self.screenControl.getScreenDimensions()
    if (self.numLines < maxy):
        self.activated = False
        logger.addEvent('no_scrollbar')
    else:
        logger.addEvent('needed_scrollbar')

dataset/ETHPy150Open facebook/PathPicker/src/screenControl.py ScrollBar.__init__/VarMisuse@37/43 `self`->`maxx`