FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-151920: Add the ttk.Style.theme_styles() method by serhiy-storchaka · Pull Request #151921 · python/cpython · GitHub

Repository navigation

gh-151920: Add the ttk.Style.theme_styles() method - #151921

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:tkinter-ttk-theme-styles
Jun 22, 2026
Merged

serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:tkinter-ttk-theme-styles

Conversation

serhiy-storchaka commented Jun 22, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

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). It is a clean introspection peer of the existing ttk.Style.theme_names().

Tested locally against Tcl/Tk 9.0.4 and 9.1b0.

🤖 Generated with Claude Code

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>

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33254067 | 📁 Comparing c35e491 against main (34eca5a)

  🔍 Preview build  

3 files changed
± library/tkinter.ttk.html
± whatsnew/3.16.html
± whatsnew/changelog.html

serhiy-storchaka merged commit 27148d0 into python:main Jun 22, 2026
51 checks passed
serhiy-storchaka deleted the tkinter-ttk-theme-styles branch June 22, 2026 17:43
pyctrl pushed a commit to pyctrl/cpython that referenced this pull request Jul 5, 2026
…1921)

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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL