FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-75952: Document negative offsets in tkinter geometry strings (GH-152531) by miss-islington · Pull Request #153102 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
3 changes: 3 additions & 0 deletions Doc/library/tkinter.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -1991,6 +1991,7 @@ Base and mixin classes

Return the geometry of the widget, in the form ``widthxheight+x+y``.
All dimensions are in pixels.
An offset can be negative; see :meth:`~Wm.geometry`.

.. method:: winfo_height()

Expand Down Expand Up @@ -2451,6 +2452,8 @@ Base and mixin classes
*width* and *height* are in pixels (or grid units for a gridded window);
a position preceded by ``+`` is measured from the left or top edge of the
screen and one preceded by ``-`` from the right or bottom edge.
An offset can be negative, as in ``'200x100+-9+-8'``, when the window
edge is positioned beyond the corresponding screen edge.
An empty string cancels any user-specified geometry, letting the window
revert to its natural size.
With no argument, return the current geometry as a string of the form
Expand Down
Loading

Back | FazBrowse Home | New Git URL