Skip to content

gh-75952: Document negative offsets in tkinter geometry strings#152531

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-75952-geometry-offset-docs
Open

gh-75952: Document negative offsets in tkinter geometry strings#152531
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-75952-geometry-offset-docs

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Tk geometry strings can contain a negative offset, e.g. geometry() returns '200x100+-9+-8' when a window edge is positioned beyond the corresponding screen edge. The documentation only described plain +/- offsets, so the +- form was unexpected.

Note the negative offset in the geometry() and winfo_geometry() documentation.

Tk geometry strings can contain a negative offset (e.g. 200x100+-9+-8)
when a window edge is positioned beyond the corresponding screen edge.
Note this in the geometry() and winfo_geometry() documentation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jun 28, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jun 28, 2026
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 28, 2026
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33345671 | 📁 Comparing 669e49d against main (41cc78a)

  🔍 Preview build  

1 file changed
± library/tkinter.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant