]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101284: Allow passing Menubutton options to tkinter.OptionMenu (GH-151959)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 23 Jun 2026 06:24:17 +0000 (09:24 +0300)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2026 06:24:17 +0000 (06:24 +0000)
commit868d9a82cab556a8f5ad1f54e81d39dd325d3f52
tree882a7a1dcf18c45c4b51e3489e92ba591424430a
parentce147129c183b934800b539c9a85b7d6bf44ae5d
gh-101284: Allow passing Menubutton options to tkinter.OptionMenu (GH-151959)

Arbitrary keyword arguments are now forwarded to the underlying
Menubutton and can override OptionMenu's default appearance options.
The positional API is unchanged.

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-23-12-00-00.gh-issue-101284.Ab3Xy9.rst [new file with mode: 0644]