Message266859
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 |
|
Date |
User |
Action |
Args |
2016-06-02 01:29:56 | terry.reedy | set | recipients:
+ terry.reedy, serhiy.storchaka |
2016-06-02 01:29:56 | terry.reedy | set | messageid: <1464830996.04.0.129355924929.issue27025@psf.upfronthosting.co.za> |
2016-06-02 01:29:56 | terry.reedy | link | issue27025 messages |
2016-06-02 01:29:55 | terry.reedy | create | |
|