[Python-checkins] CVS: python/dist/src/Doc/lib libcurses.tex,1.24,1.25

A.M. Kuchling python-dev@python.org
Thu, 21 Dec 2000 08:25:47 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv4799

Modified Files:
	libcurses.tex 
Log Message:
Document the window.overlay() and .overwrite() methods


Index: libcurses.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcurses.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** libcurses.tex	2000/12/15 01:03:23	1.24
--- libcurses.tex	2000/12/21 16:25:44	1.25
***************
*** 861,864 ****
--- 861,890 ----
  \end{methoddesc}
  
+ \begin{methoddesc}{overlay}{destwin\optional{, sminrow, smincol,
+       dminrow, dmincol, dmaxrow, dmaxcol}}
+ Overlay the window on top of \var{destwin}. The windows need not be
+ the same size, only the overlapping region is copied. This copy is
+ non-destructive, which means that the current background character
+ does not overwrite the old contents of \var{destwin}.
+ 
+ To get fine-grained control over the copied region, the second form
+ of \method{overlay} can be used. \var{sminrow} and \var{smincol} are
+ the upper-left coordinates of the source window, and the other variables
+ mark a rectangle in the destination window.
+ \end{methoddesc}
+ 
+ \begin{methoddesc}{overwrite}{destwin\optional{, sminrow, smincol,
+       dminrow, dmincol, dmaxrow, dmaxcol}}
+ Overwrite the window on top of \var{destwin}. The windows need not be
+ the same size, in which case only the overlapping region is copied. This copy is
+ destructive, which means that the current background character
+ overwrites the old contents of \var{destwin}.
+ 
+ To get fine-grained control over the copied region, the second form
+ of \method{overwrite} can be used. \var{sminrow} and \var{smincol} are
+ the upper-left coordinates of the source window, the other variables
+ mark a rectangle in the destination window.
+ \end{methoddesc}
+ 
  \begin{methoddesc}{putwin}{file}
  Writes all data associated with the window into the provided file