Terry J. Reedy added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24750> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com