Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add the ttk.Style.theme_styles() method #151920

Description

@serhiy-storchaka

Tk 9.0 added the ttk::style theme styles ?themeName? subcommand, which returns the list of styles defined in a theme (the current theme if themeName is omitted). It is a clean introspection peer of the already-wrapped ttk::style theme names (ttk.Style.theme_names()).

tkinter does not yet wrap it. Proposal: add tkinter.ttk.Style.theme_styles(themename=None), returning a tuple of style names.

Linked PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-tkintertype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions