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
93fc20b7
Commit
93fc20b7
authored
May 23, 2017
by
Berker Peksag
Committed by
Kushal Das
May 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-30376: Update outdated WindowObject references (#1630)
parent
f82c951d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
Doc/library/curses.rst
Doc/library/curses.rst
+8
-8
No files found.
Doc/library/curses.rst
View file @
93fc20b7
...
...
@@ -290,8 +290,8 @@ The module :mod:`curses` defines the following functions:
.. function:: initscr()
Initialize the library. Return a :
class:`WindowObject` which represents the
whole screen.
Initialize the library. Return a :
ref:`window <curses-window-objects>` object
wh
ich represents the wh
ole screen.
.. note::
...
...
@@ -383,8 +383,8 @@ The module :mod:`curses` defines the following functions:
.. function:: newwin(nlines, ncols)
newwin(nlines, ncols, begin_y, begin_x)
Return a new
window, whose left-upper corner is at ``(begin_y, begin_x)``, and
whose height/width is *nlines*/*ncols*.
Return a new
:ref:`window <curses-window-objects>`, whose left-upper corner
is at ``(begin_y, begin_x)``, and
whose height/width is *nlines*/*ncols*.
By default, the window will extend from the specified position to the lower
right corner of the screen.
...
...
@@ -1684,10 +1684,10 @@ You can instantiate a :class:`Textbox` object as follows:
.. class:: Textbox(win)
Return a textbox widget object. The *win* argument should be a curses
:
class:`WindowObject` in which the textbox is to be contained. The edit cursor
of the textbox is initially located at the upper left hand corner of
the
containing window, with coordinates ``(0, 0)``. The instance's
:attr:`stripspaces` flag is initially on.
:
ref:`window <curses-window-objects>` object in which the textbox is to
be contained. The edit cursor of the textbox is initially located at
the
upper left hand corner of the containing window, with coordinates ``(0, 0)``.
The instance's
:attr:`stripspaces` flag is initially on.
:class:`Textbox` objects have the following methods:
...
...
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