/external/python/cffi/demo/ |
D | _curses.py | 371 begin_y, begin_x = args 373 nlines, ncols, begin_y, begin_x = args 377 win = lib.derwin(self._win, nlines, ncols, begin_y, begin_x) 576 begin_y, begin_x = args 578 nlines, ncols, begin_y, begin_x = args 583 win = lib.subpad(self._win, nlines, ncols, begin_y, begin_x) 585 win = lib.subwin(self._win, nlines, ncols, begin_y, begin_x) 876 def newwin(nlines, ncols, begin_y=None, begin_x=None): argument 879 if begin_y is not None: 881 begin_y = begin_x = 0 [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | _cursesmodule.c.h | 624 int nlines, int ncols, int begin_y, int begin_x); 633 int begin_y; in _curses_window_derwin() local 638 if (!PyArg_ParseTuple(args, "ii:derwin", &begin_y, &begin_x)) { in _curses_window_derwin() 643 if (!PyArg_ParseTuple(args, "iiii:derwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_derwin() 652 return_value = _curses_window_derwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_derwin() 1709 int nlines, int ncols, int begin_y, int begin_x); 1718 int begin_y; in _curses_window_subwin() local 1723 if (!PyArg_ParseTuple(args, "ii:subwin", &begin_y, &begin_x)) { in _curses_window_subwin() 1728 if (!PyArg_ParseTuple(args, "iiii:subwin", &nlines, &ncols, &begin_y, &begin_x)) { in _curses_window_subwin() 1737 return_value = _curses_window_subwin_impl(self, group_left_1, nlines, ncols, begin_y, begin_x); in _curses_window_subwin() [all …]
|
/external/python/cpython2/Modules/ |
D | _cursesmodule.c | 761 int nlines, ncols, begin_y, begin_x; in PyCursesWindow_DerWin() local 767 if (!PyArg_ParseTuple(args,"ii;begin_y,begin_x",&begin_y,&begin_x)) in PyCursesWindow_DerWin() 772 &nlines,&ncols,&begin_y,&begin_x)) in PyCursesWindow_DerWin() 780 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in PyCursesWindow_DerWin() 1452 int nlines, ncols, begin_y, begin_x; in PyCursesWindow_SubWin() local 1458 if (!PyArg_ParseTuple(args,"ii;begin_y,begin_x",&begin_y,&begin_x)) in PyCursesWindow_SubWin() 1463 &nlines,&ncols,&begin_y,&begin_x)) in PyCursesWindow_SubWin() 1474 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in PyCursesWindow_SubWin() 1478 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in PyCursesWindow_SubWin() 2264 int nlines, ncols, begin_y=0, begin_x=0; in PyCurses_NewWindow() local [all …]
|
/external/python/cpython3/Modules/ |
D | _cursesmodule.c | 1156 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_derwin_impl() argument 1161 win = derwin(self->win,nlines,ncols,begin_y,begin_x); in _curses_window_derwin_impl() 2177 int nlines, int ncols, int begin_y, int begin_x) in _curses_window_subwin_impl() argument 2185 win = subpad(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl() 2189 win = subwin(self->win, nlines, ncols, begin_y, begin_x); in _curses_window_subwin_impl() 3596 int group_right_1, int begin_y, int begin_x) in _curses_newwin_impl() argument 3603 win = newwin(nlines,ncols,begin_y,begin_x); in _curses_newwin_impl()
|
/external/python/cpython2/Doc/library/ |
D | curses.rst | 384 newwin(nlines, ncols, begin_y, begin_x) 386 Return a new window, whose left-upper corner is at ``(begin_y, begin_x)``, and 826 .. method:: window.derwin(begin_y, begin_x) 827 window.derwin(nlines, ncols, begin_y, begin_x) 830 :meth:`subwin`, except that *begin_y* and *begin_x* are relative to the origin 1154 .. method:: window.subpad(begin_y, begin_x) 1155 window.subpad(nlines, ncols, begin_y, begin_x) 1157 Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, and 1161 .. method:: window.subwin(begin_y, begin_x) 1162 window.subwin(nlines, ncols, begin_y, begin_x) [all …]
|
/external/python/cpython3/Doc/library/ |
D | curses.rst | 392 newwin(nlines, ncols, begin_y, begin_x) 395 is at ``(begin_y, begin_x)``, and whose height/width is *nlines*/*ncols*. 881 .. method:: window.derwin(begin_y, begin_x) 882 window.derwin(nlines, ncols, begin_y, begin_x) 885 :meth:`subwin`, except that *begin_y* and *begin_x* are relative to the origin 1232 .. method:: window.subpad(begin_y, begin_x) 1233 window.subpad(nlines, ncols, begin_y, begin_x) 1235 Return a sub-window, whose upper-left corner is at ``(begin_y, begin_x)``, and 1239 .. method:: window.subwin(begin_y, begin_x) 1240 window.subwin(nlines, ncols, begin_y, begin_x) [all …]
|
/external/python/cpython2/Doc/howto/ |
D | curses.rst | 146 begin_x = 20; begin_y = 7 148 win = curses.newwin(height, width, begin_y, begin_x)
|
/external/python/cpython3/Doc/howto/ |
D | curses.rst | 181 begin_x = 20; begin_y = 7 183 win = curses.newwin(height, width, begin_y, begin_x)
|