[issue21597] Allow turtledemo code pane to get wider.

Lita Cho report at bugs.python.org
Sun Jul 6 09:03:50 CEST 2014


Lita Cho added the comment:

Hey Terry,

So the reason why the tearing is a lot slower in 06/09 patch is because the canvas is using the turtle.ScrolledCanvas widget. Everytime the window resizes, it is calling a callback to `onResize` -> `adjustScrolls` to update the scrollbars. When I comment out that binding in turtle.py (line 358) it still tears, but it snaps back a lot quicker.

The main widget is already a 2x2 grid (ScrolledCanvas). I tried just returning the ScrolledCanvas, but that didn't work either.

I will try to ask in stackoverflow tomorrow and seeing what they say!

----------

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


More information about the Python-bugs-list mailing list