]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151920: Add the ttk.Style.theme_styles() method (GH-151921)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 Jun 2026 17:43:43 +0000 (20:43 +0300)
committerGitHub <noreply@github.com>
Mon, 22 Jun 2026 17:43:43 +0000 (20:43 +0300)
commit27148d0857efb28bcbbf7ff393050c1256aae239
tree4ea418802bb2890d8169abe8f4fa418aadfc2e73
parent6cbb225c9efaf6bc14426606d308898c20179341
gh-151920: Add the ttk.Style.theme_styles() method (GH-151921)

Wrap the Tk 9.0 ``ttk::style theme styles ?themeName?`` subcommand as
ttk.Style.theme_styles(themename=None), returning the list of styles
defined in a theme (the current theme if themename is omitted).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Doc/library/tkinter.ttk.rst
Doc/whatsnew/3.16.rst
Lib/test/test_ttk/test_style.py
Lib/tkinter/ttk.py
Misc/NEWS.d/next/Library/2026-06-22-14-30-00.gh-issue-151920.Th3mSt.rst [new file with mode: 0644]