Message247828
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. |
|
Date |
User |
Action |
Args |
2015-08-01 21:04:44 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, terry.reedy, kbk, ncoghlan, ned.deily, roger.serwy, markroseman |
2015-08-01 21:04:44 | serhiy.storchaka | set | messageid: <1438463084.04.0.702169826283.issue24750@psf.upfronthosting.co.za> |
2015-08-01 21:04:44 | serhiy.storchaka | link | issue24750 messages |
2015-08-01 21:04:43 | serhiy.storchaka | create | |
|