Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
68a6f5a0
Commit
68a6f5a0
authored
Dec 21, 2000
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the window.overlay() and .overwrite() methods
parent
9de6ffa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
Doc/lib/libcurses.tex
Doc/lib/libcurses.tex
+26
-0
No files found.
Doc/lib/libcurses.tex
View file @
68a6f5a0
...
...
@@ -860,6 +860,32 @@ representing the desired state of the window, but does not force
an update of the physical screen.
\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
object. This information can be later retrieved using the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment