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.

Author terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2016-06-02.01:29:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464830996.04.0.129355924929.issue27025@psf.upfronthosting.co.za>
In-reply-to
Content
Try this instead.

import tkinter as tk
from idlelib.configdialog import ConfigDialog
from idlelib import macosx

_realsetup = tk.BaseWidget._setup
def _wrapsetup(self, master, cnf):
    _realsetup(self, master, cnf)
    print(self.widgetName, self._w)
tk.BaseWidget._setup = _wrapsetup

root = tk.Tk()
macosx._initializeTkVariantTests(root)
ConfigDialog(root)
tk.BaseWidget._setup = _realsetup
History
Date User Action Args
2016-06-02 01:29:56terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2016-06-02 01:29:56terry.reedysetmessageid: <1464830996.04.0.129355924929.issue27025@psf.upfronthosting.co.za>
2016-06-02 01:29:56terry.reedylinkissue27025 messages
2016-06-02 01:29:55terry.reedycreate