GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tkinter convenience dialogs don't use themed widgets · Issue #59396 · python/cpython

tkinter convenience dialogs don't use themed widgets #59396

New issue
Copy link
New issue
Copy link
Closed
Closed
tkinter convenience dialogs don't use themed widgets#59396
Copy link
Assignees
serhiy-storchaka
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-tkintertype-featureA feature request or enhancementA feature request or enhancement

Description

mark-summerfield
mannequin
opened on Jun 26, 2012
Issue body actions
BPO 15191
Nosy @terryjreedy, @mark-summerfield, @roseman

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2012-06-26.08:41:33.265>
labels = ['type-feature', 'expert-tkinter']
title = "tkinter convenience dialogs don't use themed widgets"
updated_at = <Date 2015-09-18.16:29:17.391>
user = 'https://github.com/mark-summerfield'

bugs.python.org fields:

activity = <Date 2015-09-18.16:29:17.391>
actor = 'markroseman'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tkinter']
creation = <Date 2012-06-26.08:41:33.265>
creator = 'mark'
dependencies = []
files = []
hgrepos = []
issue_num = 15191
keywords = []
message_count = 2.0
messages = ['164057', '164444']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'mark', 'markroseman']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue15191'
versions = ['Python 3.4']

Linked PRs

  • gh-59396: Modernize tkinter.simpledialog #151848
  • gh-59396: Use themed widgets in tkinter.filedialog #152036
  • gh-59396: Add use_ttk parameter to tkinter ScrolledText #153119

Activity

  1. mark-summerfield commented on Jun 26, 2012

    @mark-summerfield
    mark-summerfieldmannequin
    on Jun 26, 2012
    MannequinAuthor
    More actions

    Some of the tkinter convenience dialogs, e.g., tkinter.filedialog.FileDialog, tkinter.scrolledtext.ScrolledText, tkinter.simpledialog.SimpleDialog, tkinter.simpledialog.Dialog, and tkinter.simpledialog._QueryDialog. Ideally they should use ttk.Frame, ttk.Button, etc. Or if that is risky for compatibility, then couldn't they be copied to tkinter.ttk and the copies themized?

  2. mark-summerfield
    added
    topic-tkinter
    on Jun 26, 2012
  3. terryjreedy commented on Jul 1, 2012

    @terryjreedy
    terryjreedy
    on Jul 1, 2012
    Member
    More actions

    It has been agreed that IDLE could assume tk8.5 (or possibly 8.4 + tile extension) and use themed widgets (though it is not yet) and not run otherwise. Further discussion would be needed to do the same for tkinter, but maybe by 3.4 that might be reasonable.

  4. terryjreedy
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Jul 1, 2012
  5. ezio-melotti
    transferred this issue fromon Apr 10, 2022
  6. iritkatriel
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Nov 23, 2023
  7. serhiy-storchaka
    self-assigned this
    on Jun 21, 2026
  8. serhiy-storchaka commented on Jun 21, 2026

    @serhiy-storchaka
    serhiy-storchaka
    on Jun 21, 2026
    Member
    More actions

    #151848 updates the implementation of SimpleDialog and Dialog to match the look and feel of ::tk_dialog and ::tk::MessageBox. Both classes got the use_ttk parameter which controls the set of used widgets and their layout. SimpleDialog got also few other features. FileDialog was left for the follow up PR.

    SimpleDialog and query dialogs use ttk by default (like most of native Tk dialogs). Dialog uses classic widgets by default, because user's classic widgets in body() look ugly on ttk.Frame. So this was left on user.

    The base patch was written in 2020 against 8.6, but I was overloaded and distracted. Then I updated it to 9.0, 9.1, and with help of Claude Code was able to finish it (so the documentation is better than what I usually wrote).

  9. serhiy-storchaka
    added 2 commits that reference this issue on Jun 23, 2026

    gh-59396: Modernize tkinter.simpledialog (GH-151848)

    ad38cf8

    pythongh-59396: Tolerate absent tkinter dialog submodules in idlelib.run

    7a97e4b
  10. serhiy-storchaka
    added a commit that references this issue on Jul 5, 2026

    gh-59396: Use themed widgets in tkinter.filedialog (GH-152036)

    3d9d6c8
  11. pyctrl
    added a commit that references this issue on Jul 5, 2026

    pythongh-59396: Modernize tkinter.simpledialog (pythonGH-151848)

    1ad2af1
  12. serhiy-storchaka
    added 2 commits that reference this issue on Jul 10, 2026

    Merge branch 'main' into pythongh-59396-scrolledtext-ttk

    2ff785c

    gh-59396: Add use_ttk parameter to tkinter ScrolledText (GH-153119)

    fbce45b
  13. serhiy-storchaka commented on Jul 10, 2026

    @serhiy-storchaka
    serhiy-storchaka
    on Jul 10, 2026
    Member
    More actions

    All dialogs and widgets implemented in Python are now themed by default or have an option.

  14. serhiy-storchaka
    closed this as completedon Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @serhiy-storchaka
    serhiy-storchaka

Labels

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.