Serhiy Storchaka added the comment:
Yes, but setting the highlightthickness option can be optional too.
self.scrollbarView = Scrollbar(frameText, orient=VERTICAL,
takefocus=FALSE)
try:
self.scrollbarView['highlightthickness'] = 0
except TclError:
pass
or
self.scrollbarView = Scrollbar(frameText, orient=VERTICAL,
takefocus=FALSE)
if not ttk:
self.scrollbarView['highlightthickness'] = 0
Otherwise I think it is not worth to apply these changes to maintained
releases. 3.4 will switched to security fixes only mode soon, but 2.7 has long
support term. Bugfix release should continue to work on platforms that are
shipped with Tcl/Tk 8.4.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24750>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com