]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151886: Add tkinter Misc.tk_appname, tk_useinputmethods and tk_caret (GH-151887)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 Jun 2026 17:31:25 +0000 (20:31 +0300)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2026 17:31:25 +0000 (17:31 +0000)
commit6cbb225c9efaf6bc14426606d308898c20179341
treecabaaa87c9c9594fd676667574ad21a3da6c7534
parent34eca5ac9dddbe215639e28841da1e3304973e92
gh-151886: Add tkinter Misc.tk_appname, tk_useinputmethods and tk_caret (GH-151887)

Wrap three long-standing Tk commands that had no tkinter wrapper:

* Misc.tk_appname() queries or sets the name used to communicate with the
  application through the send command (Tk 8.5).
* Misc.tk_useinputmethods() queries or sets whether Tk uses the X Input
  Methods (XIM) for filtering events (Tk 8.5).
* Misc.tk_caret() sets or queries the per-display caret location used for
  accessibility and for placing the input method window (Tk 8.5).

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