(self, lines)
Scroll up or down in lines
Scroll up or down in lines
Scroll up or down in lines
def scroll_by_line(self, lines):
        """Scroll up or down in lines"""
        amount = lines * self.vte.get_vadjustment().get_step_increment()
        self.scroll_by(int(amount))
def scroll_by_line ( self , lines ) : amount = lines * self . vte . get_vadjustment ( ) . get_step_increment ( ) self . scroll_by ( int ( amount ) )