Anthony Zeeman <ahzee...@yahoo.ca> added the comment:

Cheryl, here is the option listing from the ttk scrollbar configure method:
TTK Scrollbar options: {'command': ('command', 'command', 'Command', '', 
'140274415153928offsetChanged'), 'orient': ('orient', 'orient', 'Orient', 
<index object: 'vertical'>, <index object: 'vertical'>), 'takefocus': 
('takefocus', 'takeFocus', 'TakeFocus', '', ''), 'cursor': ('cursor', 'cursor', 
'Cursor', '', ''), 'style': ('style', 'style', 'Style', '', ''), 'class': 
('class', '', '', '', '')}
Here is the listing from the tk scrollbar configure method:
TK Scrollbar options: {'activebackground': ('activebackground', 
'activeBackground', 'Foreground', '#ececec', '#ececec'), 'activerelief': 
('activerelief', 'activeRelief', 'Relief', 'raised', 'raised'), 'background': 
('background', 'background', 'Background', '#d9d9d9', '#d9d9d9'), 'bd': ('bd', 
'borderWidth'), 'bg': ('bg', 'background'), 'borderwidth': ('borderwidth', 
'borderWidth', 'BorderWidth', '1', '1'), 'command': ('command', 'command', 
'Command', '', '140677242826952offsetChanged'), 'cursor': ('cursor', 'cursor', 
'Cursor', '', ''), 'elementborderwidth': ('elementborderwidth', 
'elementBorderWidth', 'BorderWidth', '-1', '-1'), 'highlightbackground': 
('highlightbackground', 'highlightBackground', 'HighlightBackground', 
'#d9d9d9', '#d9d9d9'), 'highlightcolor': ('highlightcolor', 'highlightColor', 
'HighlightColor', '#000000', '#000000'), 'highlightthickness': 
('highlightthickness', 'highlightThickness', 'HighlightThickness', '0', '0'), 
'jump': ('jump', 'jump', 'Jump', '0', '0'), 'orient': ('orient', 'orient', 
'Orient', 'vertical', 'vertical'), 'relief': ('relief', 'relief', 'Relief', 
'sunken', 'sunken'), 'repeatdelay': ('repeatdelay', 'repeatDelay', 
'RepeatDelay', '300', '300'), 'repeatinterval': ('repeatinterval', 
'repeatInterval', 'RepeatInterval', '100', '100'), 'takefocus': ('takefocus', 
'takeFocus', 'TakeFocus', '', ''), 'troughcolor': ('troughcolor', 
'troughColor', 'Background', '#b3b3b3', '#b3b3b3'), 'width': ('width', 'width', 
'Width', '11', '11')}
The option is missing for both variants of the scrollbar.

    On Sunday, March 3, 2019, 6:37:47 p.m. EST, Cheryl Sabella 
<rep...@bugs.python.org> wrote:  

Cheryl Sabella <cheryl.sabe...@gmail.com> added the comment:

You need to use the ttk Scrollbar to access state.  The standard tk Scrollbar 
doesn't have it.

Take a look at the doc page for ttk:
https://docs.python.org/3/library/tkinter.ttk.html

And the New Mexico Institute pages for ttk:
https://infohost.nmt.edu/tcc/help/pubs/tkinter/web/ttk-Scrollbar.html
https://infohost.nmt.edu/tcc/help/pubs/tkinter/web/ttk-Widget.html

----------
nosy: +cheryl.sabella

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36171>
_______________________________________

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36171>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to