parameters: (self, event, *args)
return_statement: return 'break'
docstring: Handle scrollbar.
docstring_summary: Handle scrollbar.
docstring_tokens: Handle scrollbar .
function: def handle_yview(self, event, *args):
          "Handle scrollbar."
          if event == 'moveto':
              fraction = float(args[0])
              lines = (round(self.getlineno('end') * fraction) -
                       self.getlineno('@0,0'))
              event = 'scroll'
              args = (lines, 'units')
          self.text.yview(event, *args)
          return 'break'
function_tokens: def handle_yview ( self , event , * args ) : if event == 'moveto' : fraction = float ( args [ 0 ] ) lines = ( round ( self . getlineno ( 'end' ) * fraction ) - self . getlineno ( '@0,0' ) ) event = 'scroll' args = ( lines , 'units' ) self . text . yview ( event , * args ) return 'break'