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 kbk, markroseman, ncoghlan, ned.deily, roger.serwy, serhiy.storchaka, terry.reedy
Date 2015-08-01.19:59:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1438459163.24.0.4726157084.issue24750@psf.upfronthosting.co.za>
In-reply-to
Content
That does not work.  ttk widgets are not drop-in replacements for their predecessors.  The problem is illustrated by these lines from the TextViewer patch

-        self.scrollbarView = Scrollbar(frameText, orient=VERTICAL,
-                                       takefocus=FALSE, highlightthickness=0)
+        self.scrollbarView = ttk.Scrollbar(frameText, orient=VERTICAL,
+                                       takefocus=FALSE)

The highlightthickness option, among several others, is not legal for the ttk versions of widgets.  That is why I removed it. This particular instance could be solved by living without the highlightthickness option, but their will be many other instances where we do not want to drop the configuration. The API differences are probably even worse for Treeview and Notebook versus Idle's custom implementations of the same widget.
History
Date User Action Args
2015-08-01 19:59:23terry.reedysetrecipients: + terry.reedy, kbk, ncoghlan, ned.deily, roger.serwy, markroseman, serhiy.storchaka
2015-08-01 19:59:23terry.reedysetmessageid: <1438459163.24.0.4726157084.issue24750@psf.upfronthosting.co.za>
2015-08-01 19:59:23terry.reedylinkissue24750 messages
2015-08-01 19:59:23terry.reedycreate