PyDocs

Nav

Command-line interface libraries

window.derwin

curses

method of windownot Androidnot iOSnot WASI
  • window.derwin(begin_y, begin_x)
  • window.derwin(nlines, ncols, begin_y, begin_x)
derwin([nlines=0, ncols=0,] begin_y, begin_x)
Create a sub-window (window-relative coordinates).

  nlines
    Height.
  ncols
    Width.
  begin_y
    Top side y-coordinate.
  begin_x
    Left side x-coordinate.

derwin() is the same as calling subwin(), except that begin_y and
begin_x are relative to the origin of the window, rather than
relative to the entire screen.
0 Examples
No examples for curses/window.derwin.
See Also
No see-alsos for curses/window.derwin
0 Notes
No notes for window.derwin