예제 #1
0
 def scroll(self, nlines=None):
     if nlines is None:
         return _check_ERR(lib.scroll(self._win), "scroll")
     else:
         return _check_ERR(lib.wscrl(self._win, nlines), "scroll")
예제 #2
0
 def scroll(self, nlines=None):
     if nlines is None:
         return _check_ERR(lib.scroll(self._win), "scroll")
     else:
         return _check_ERR(lib.wscrl(self._win, nlines), "scroll")