Message250013
| Author |
terry.reedy |
| Recipients |
terry.reedy |
| Date |
2015年09月06日.19:16:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1441566965.71.0.33630989907.issue25015@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
https://stackoverflow.com/questions/32414942/python-scroll-speed
At least on Win7, tk.Texts scroll, by default, at an anemic 2-3 lines per wheel click, ignoring the system wheel setting. What happens on other systems? I consider this a probable tk bug, at least on Widows, but we can override the default (on Windows) with
def mousescroll(event):
<scroll n lines>
return 'break'
text.bind('<MouseWheel>', mousescroll)
turtledemo.__main__ has wheel code (for font resizing) for Windows, Linux, and Mac. Unless we can access system settings, we might add a config option. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月06日 19:16:05 | terry.reedy | set | recipients:
+ terry.reedy |
| 2015年09月06日 19:16:05 | terry.reedy | set | messageid: <1441566965.71.0.33630989907.issue25015@psf.upfronthosting.co.za> |
| 2015年09月06日 19:16:05 | terry.reedy | link | issue25015 messages |
| 2015年09月06日 19:16:05 | terry.reedy | create |
|