diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-31 11:55:55 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-31 11:55:55 (GMT) |
commit | 69c2ffa3f3203335733761df4dc62eae46e2a1aa (patch) | |
tree | b8ec3065de248ed5902f82eb0e82af64d447d609 /Doc/library | |
parent | 78a0f208cc3e09a084df236b2d1bc8131ae06c17 (diff) | |
download | cpython-69c2ffa3f3203335733761df4dc62eae46e2a1aa.zip cpython-69c2ffa3f3203335733761df4dc62eae46e2a1aa.tar.gz cpython-69c2ffa3f3203335733761df4dc62eae46e2a1aa.tar.bz2 |
issue #3035: update PendingDeprecationWarning to DeprectionWarning, point deprecation in tkinter doc
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/tkinter.rst | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 4ee8635..2e35836 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -735,22 +735,32 @@ Entry widget indexes (index, view index, etc.) displayed. You can use these :mod:`tkinter` functions to access these special points in text widgets: - AtEnd() +.. function:: AtEnd() refers to the last position in the text - AtInsert() + .. deprecated:: 3.3 + +.. function:: AtInsert() refers to the point where the text cursor is - AtSelFirst() + .. deprecated:: 3.3 + +.. function:: AtSelFirst() indicates the beginning point of the selected text - AtSelLast() + .. deprecated:: 3.3 + +.. function:: AtSelLast() denotes the last point of the selected text and finally - At(x[, y]) + .. deprecated:: 3.3 + +.. function:: At(x[, y]) refers to the character at pixel location *x*, *y* (with *y* not used in the case of a text entry widget, which contains a single line of text). + .. deprecated:: 3.3 + Text widget indexes The index notation for Text widgets is very rich and is best described in the Tk man pages. @@ -798,4 +808,3 @@ some widget (e.g. labels, buttons, menus). In these cases, Tk will not keep a reference to the image. When the last Python reference to the image object is deleted, the image data is deleted as well, and Tk will display an empty box wherever the image was used. - |