X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_window.3x.html;h=7b7efddb6b7590e2da91a14d90c4bf4667a4eae1;hp=4159bfdde573c4b7cde790f4d3190adbd9f5f8d1;hb=2a32bee362db64f5a06b2124976b928ac3faa578;hpb=027d0c57c4c4d6690e8d8727888d3282dbe9aa86 diff --git a/doc/html/man/curs_window.3x.html b/doc/html/man/curs_window.3x.html index 4159bfdd..7b7efddb 100644 --- a/doc/html/man/curs_window.3x.html +++ b/doc/html/man/curs_window.3x.html @@ -1,6 +1,6 @@ @@ -45,38 +45,37 @@ - -

NAME

+

NAME

        newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin,
        wsyncup, syncok, wcursyncup, wsyncdown - create curses
        windows
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <curses.h>
 
        WINDOW *newwin(
-             int nlines, int ncols,
-             int begin_y, int begin_x);
-       int delwin(WINDOW *win);
-       int mvwin(WINDOW *win, int y, int x);
-       WINDOW *subwin(WINDOW *orig,
-             int nlines, int ncols,
-             int begin_y, int begin_x);
-       WINDOW *derwin(WINDOW *orig,
-             int nlines, int ncols,
-             int begin_y, int begin_x);
-       int mvderwin(WINDOW *win, int par_y, int par_x);
-       WINDOW *dupwin(WINDOW *win);
-       void wsyncup(WINDOW *win);
-       int syncok(WINDOW *win, bool bf);
-       void wcursyncup(WINDOW *win);
-       void wsyncdown(WINDOW *win);
-
-
-
-

DESCRIPTION

+             int nlines, int ncols,
+             int begin_y, int begin_x);
+       int delwin(WINDOW *win);
+       int mvwin(WINDOW *win, int y, int x);
+       WINDOW *subwin(WINDOW *orig,
+             int nlines, int ncols,
+             int begin_y, int begin_x);
+       WINDOW *derwin(WINDOW *orig,
+             int nlines, int ncols,
+             int begin_y, int begin_x);
+       int mvderwin(WINDOW *win, int par_y, int par_x);
+       WINDOW *dupwin(WINDOW *win);
+       void wsyncup(WINDOW *win);
+       int syncok(WINDOW *win, bool bf);
+       void wcursyncup(WINDOW *win);
+       void wsyncdown(WINDOW *win);
+
+
+

DESCRIPTION

+
+

newwin

        Calling newwin creates and returns a pointer to a new win-
        dow with the given number of lines and columns.  The upper
        left-hand corner of the window is at
@@ -90,17 +89,23 @@
        A   new   full-screen   window   is   created  by  calling
        newwin(0,0,0,0).
 
+
+

delwin

        Calling delwin deletes the named window, freeing all memo-
        ry associated with it (it does not actually erase the win-
        dow's screen image).  Subwindows must  be  deleted  before
        the main window can be deleted.
 
+
+

mvwin

        Calling mvwin moves the window so that the upper left-hand
        corner is at position (x, y).  If the move would cause the
        window to be off the screen, it is an error and the window
        is not moved.  Moving subwindows is allowed, but should be
        avoided.
 
+
+

subwin

        Calling subwin creates and returns a pointer to a new win-
        dow with the given number of lines, nlines,  and  columns,
        ncols.   The  window  is at position (begin_y, begin_x) on
@@ -110,6 +115,8 @@
        touchwin  or  touchline on orig before calling wrefresh on
        the subwindow.
 
+
+

derwin

        Calling derwin is the same as calling subwin, except  that
        begin_y and begin_x are relative to the origin of the win-
        dow orig rather than the screen.  There is  no  difference
@@ -121,26 +128,33 @@
        play different parts of the  parent  window  at  the  same
        physical position on the screen.
 
+
+

dupwin

        Calling  dupwin  creates  an exact duplicate of the window
        win.
 
+
+

wsyncup

        Calling wsyncup touches all locations in ancestors of  win
        that  are changed in win.  If syncok is called with second
        argument TRUE then wsyncup is called automatically whenev-
        er there is a change in the window.
 
+
+

wsyncdown

        The  wsyncdown  routine  touches each location in win that
        has been touched in any of  its  ancestor  windows.   This
        routine  is  called by wrefresh, so it should almost never
        be necessary to call it manually.
 
+
+

wcursyncup

        The routine wcursyncup updates the current cursor position
        of  all the ancestors of the window to reflect the current
        cursor position of the window.
 
 
-
-

RETURN VALUE

+

RETURN VALUE

        Routines that return an integer return the integer ERR up-
        on  failure  and OK (SVr4 only specifies "an integer value
        other than ERR") upon successful completion.
@@ -196,16 +210,14 @@
        been initialized, i.e., with initscr or newterm.
 
 
-
-

NOTES

+

NOTES

        If many small changes are made to the window, the  wsyncup
        option could degrade performance.
 
        Note that syncok may be a macro.
 
 
-
-

BUGS

+

BUGS

        The  subwindow  functions (subwin, derwin, mvderwin, wsyn-
        cup, wsyncdown, wcursyncup, syncok) are flaky, incomplete-
        ly implemented, and not well tested.
@@ -219,14 +231,12 @@
        may result in slower updates.
 
 
-
-

PORTABILITY

+

PORTABILITY

        The  XSI  Curses  standard,  Issue 4 describes these func-
        tions.
 
 
-
-

SEE ALSO

+

SEE ALSO

        curses(3x), curs_refresh(3x),  curs_touch(3x),  curs_vari-
        ables(3x)
 
@@ -238,7 +248,19 @@