]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151876: Add tkinter Canvas methods rotate and rchars (GH-151877)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 Jun 2026 13:51:50 +0000 (16:51 +0300)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2026 13:51:50 +0000 (13:51 +0000)
commitb9bceb1fea40679cc0946f4bb97628c88fac822c
tree8e8ee67b96d1635574d6352d345b7b0afde2c7bd
parent13c1225443ad1459bc859392ea11a7053cbad190
gh-151876: Add tkinter Canvas methods rotate and rchars (GH-151877)

Wrap the Tk canvas commands "rchars" (replace the text or coordinates of
items, since Tk 8.6) and "rotate" (rotate the coordinates of items about
an origin, new in Tk 9.0) as the methods Canvas.rchars() and
Canvas.rotate(), complementing the existing dchars/insert and move/scale
methods.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/tkinter.rst
Doc/whatsnew/3.16.rst
Lib/test/test_tkinter/test_widgets.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2026-06-22-00-55-07.gh-issue-151876.sVe0xx.rst [new file with mode: 0644]