X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_window.3x.html;h=16dcf10ff8f8875af2d9e8e8ec3fd6da68f92597;hp=c474f1c72ac07d4192efb713cbf3b37701662afc;hb=302a066a01e4de40f08b397e87ca0e97f20870a7;hpb=6a530b46563470c2ca73579d1994a0c8e275dd98 diff --git a/doc/html/man/curs_window.3x.html b/doc/html/man/curs_window.3x.html index c474f1c7..16dcf10f 100644 --- a/doc/html/man/curs_window.3x.html +++ b/doc/html/man/curs_window.3x.html @@ -1,6 +1,6 @@ @@ -45,15 +45,13 @@ - -
+
newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin, wsyncup, syncok, wcursyncup, wsyncdown - create curses windows --
+
#include <curses.h> WINDOW *newwin( @@ -75,11 +73,9 @@ void wsyncdown(WINDOW *win); --
+
--
+
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 @@ -94,16 +90,14 @@ newwin(0,0,0,0). --
+
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. --
+
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 @@ -111,8 +105,7 @@ avoided. --
+
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 @@ -123,8 +116,7 @@ the subwindow. --
+
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 @@ -137,37 +129,32 @@ physical position on the screen. --
+
Calling dupwin creates an exact duplicate of the window win. --
+
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. --
+
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. --
+
The routine wcursyncup updates the current cursor position of all the ancestors of the window to reflect the current cursor position of the window. --
+
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. @@ -223,17 +210,15 @@ been initialized, i.e., with initscr or newterm. --
+
If many small changes are made to the window, the wsyncup option could degrade performance. Note that syncok may be a macro. --
- The subwindow functions (subwin, derwin, mvderwin, wsyn- +
+ The subwindow functions (subwin, derwin, mvderwin, wsyn- cup, wsyncdown, wcursyncup, syncok) are flaky, incomplete- ly implemented, and not well tested. @@ -246,14 +231,12 @@ may result in slower updates. --
+
The XSI Curses standard, Issue 4 describes these func- tions. --
+
curses(3x), curs_refresh(3x), curs_touch(3x), curs_vari- ables(3x)