Terry J. Reedy <tjre...@udel.edu> added the comment:

Thanks for the patch.  More IDLE patches would be welcome should you want to 
attack something else.

Possible browser scrolling refinements:

1. Scroll by an integral number of labels.  This is easy with text.  For our 
synthesized tree, we would have to calculate the # of canvas pixels to scroll.  
However, if we switch to ttk.Treeview (#31552), it, like Text has a height in 
lines.  So its yview method might scroll in line units, like text.

2. Only bind wheel event(s) used on system?  Should test on 3 systems. Do all 
*nix other than  tk for macOS use X-window buttons?  Not a big deal.

3. Use bindtags to bind wheel events just once. Then unbind when shutdown?  
(Check if unbind elsewhere.)

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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

Reply via email to