[issue21933] Allow the user to change font sizes with the text pane of turtledemo

Terry J. Reedy report at bugs.python.org
Tue Jul 22 08:35:23 CEST 2014


Terry J. Reedy added the comment:

MOUSEWHEEL should continue to scroll.
CONTROL+MOUSEWHEEL should change font size, as you said at the beginning.
At least on Windows, this seems pretty standard: Internet Explorer, Firefox, Notepad++, LibreOffice (and, I imagin, OpenOffice, and Word), Thunderbird.  The only exception I can find that has a font size setting but ignores ^wheel is Command Prompt, which breaks multiple UI rules.  Notepad does not allow font resizing.

Get ^wheel to work right and I would like to add it to Idle, where ^wheel scrolls along with wheel.

^+ and ^- are pretty standard also, though LibreOffice does not recognize them. Perhaps this is because it is explicit cross platform.

We can conditionally not bind wheel events on Mac setups where it fails. Does #10731 have enough info to do that? In not... I have not yet looked into generating key/mouse events from code, but perhaps it would be possible to generate a wheel event inside try: except and unbind if there is an exception.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21933>
_______________________________________


More information about the Python-bugs-list mailing list