This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: theme-change.py for tkinter lib
Type: enhancement Stage: resolved
Components: Tkinter Versions: Python 3.11
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: Ayushparikh-code, epaine, serhiy.storchaka, terry.reedy, zach.ware
Priority: normal Keywords:

Created on 2021-08-28 13:20 by Ayushparikh-code, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 28012 closed Ayushparikh-code, 2021-08-28 13:20
Messages (8)
msg400472 - (view) Author: E. Paine (epaine) * Date: 2021-08-28 14:33
I'm slightly confused about the purpose of this PR. Is the intention to create a demo, or this designed to be used as an API?
msg400474 - (view) Author: Ayush Parikh (Ayushparikh-code) * Date: 2021-08-28 14:39
yes PR purpose is to show demo for themes change of tkinter window

On Sat, Aug 28, 2021 at 8:03 PM E. Paine <report@bugs.python.org> wrote:

>
> New submission from E. Paine <xepaine13@gmail.com>:
>
> I'm slightly confused about the purpose of this PR. Is the intention to
> create a demo, or this designed to be used as an API?
>
> ----------
> nosy: +epaine, serhiy.storchaka, terry.reedy
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue45037>
> _______________________________________
>
msg400477 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-08-28 15:42
I do not think this should be included in the Tkinter library.

As for demos, there were Tkinter demos in 2.7 (Demo/tkinter), but they were removed.
msg400481 - (view) Author: E. Paine (epaine) * Date: 2021-08-28 16:26
> there were Tkinter demos in 2.7 (Demo/tkinter), but they were removed

Why is this? Because people didn't want to change them all for the tkinter module names, or because they were deemed unnecessary?
msg400482 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-08-28 17:03
I do not know. There are no issue numbers in changesets which removed them.
msg400484 - (view) Author: Ayush Parikh (Ayushparikh-code) * Date: 2021-08-28 17:22
so can u review pr and make changes for me if required or guide me so that
it can be merged !

On Sat, Aug 28, 2021 at 10:33 PM Serhiy Storchaka <report@bugs.python.org>
wrote:

>
> Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:
>
> I do not know. There are no issue numbers in changesets which removed them.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue45037>
> _______________________________________
>
msg400504 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-08-28 21:09
Ayush, when responding by email, please delete the text you are responding to.  After posting on the webpage, the quoted copy becomes redundant and noisy.
----------

I suspect that whatever tkinter demo existed previously was dropped because no one wanted to maintain it and test it on all systems.  Perhaps it was known to be buggy, at least on some systems.  Or it was considered unnecessary given the available 3rd party resources.  These have expanded since and some are listed at the beginning of the tkinter doc.  Plus, there are numerous commented solutions on Stackoverflow.  We recently replaced the initial code example in the tkinter doc with something simpler.

I expect that there might be an issue on macOS.  Some years ago, I and another person fixed up the turtledemo framework and the approximately 20 demo files.  I few months ago I discovered that macOS currently ignores background color settings for buttons.  There is a note about this deep in the tk docs but nothing that I know of in any tkinter docs.  If I spend time on tkinter, it would be to improve the reference material and have it include such needed details.

I ran the file and I don't consider it to be useful in relation to the problems people have with tkinter and ttk.  I think this issue and the PR should be closed.
msg400509 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2021-08-29 00:11
I agree with Serhiy and Terry that this is not the right place for this example and am closing the issue.
History
Date User Action Args
2022-04-11 14:59:49adminsetgithub: 89200
2021-08-29 00:11:23zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg400509

resolution: rejected
stage: resolved
2021-08-28 21:13:18terry.reedysetmessages: - msg400476
2021-08-28 21:13:08terry.reedysetmessages: - msg400475
2021-08-28 21:09:36terry.reedysetmessages: + msg400504
2021-08-28 17:22:29Ayushparikh-codesetmessages: + msg400484
2021-08-28 17:03:10serhiy.storchakasetmessages: + msg400482
2021-08-28 16:26:32epainesetmessages: + msg400481
2021-08-28 15:42:25serhiy.storchakasetmessages: + msg400477
2021-08-28 15:35:18epainesetnosy: - lys.nikolaou, pablogsal, bonesisaac1982

type: crash -> enhancement
components: - Parser
versions: - Python 3.6
2021-08-28 15:33:50bonesisaac1982setversions: + Python 3.6, Python 3.11
nosy: + pablogsal, lys.nikolaou

messages: + msg400476

components: + Parser
type: crash
2021-08-28 15:32:27bonesisaac1982setnosy: + bonesisaac1982
messages: + msg400475
2021-08-28 14:39:51Ayushparikh-codesetmessages: + msg400474
2021-08-28 14:33:31epainesetnosy: + terry.reedy, serhiy.storchaka, epaine
messages: + msg400472
2021-08-28 13:20:00Ayushparikh-codecreate