update
This commit is contained in:
8
.CondaPkg/env/Lib/turtledemo/__main__.py
vendored
8
.CondaPkg/env/Lib/turtledemo/__main__.py
vendored
@@ -92,13 +92,15 @@ from tkinter import *
|
||||
from idlelib.colorizer import ColorDelegator, color_config
|
||||
from idlelib.percolator import Percolator
|
||||
from idlelib.textview import view_text
|
||||
import turtle
|
||||
from turtledemo import __doc__ as about_turtledemo
|
||||
|
||||
import turtle
|
||||
if sys.platform == 'win32':
|
||||
from idlelib.util import fix_win_hidpi
|
||||
fix_win_hidpi()
|
||||
|
||||
demo_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
darwin = sys.platform == 'darwin'
|
||||
|
||||
STARTUP = 1
|
||||
READY = 2
|
||||
RUNNING = 3
|
||||
@@ -161,7 +163,7 @@ class DemoWindow(object):
|
||||
label='Help', underline=0)
|
||||
root['menu'] = self.mBar
|
||||
|
||||
pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
|
||||
pane = PanedWindow(root, orient=HORIZONTAL, sashwidth=5,
|
||||
sashrelief=SOLID, bg='#ddd')
|
||||
pane.add(self.makeTextFrame(pane))
|
||||
pane.add(self.makeGraphFrame(pane))
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@ A minimal sorting algorithm animation:
|
||||
Sorts a shelf of 10 blocks using insertion
|
||||
sort, selection sort and quicksort.
|
||||
|
||||
Shelfs are implemented using builtin lists.
|
||||
Shelves are implemented using builtin lists.
|
||||
|
||||
Blocks are turtles with shape "square", but
|
||||
stretched to rectangles by shapesize()
|
||||
|
||||
Reference in New Issue
Block a user