GraphWin

The graphics.py class for a window you can draw in, created as GraphWin(title, width, height).

In more detail

Shapes appear only after you call shape.draw(win). The window has its own methods: getMouse waits for a click, checkMouse checks without waiting, setCoords changes the coordinate system and close shuts it.

Related terms

Taught in

References