[Tutor] Drawing faces
Alan Gauld
alan.gauld at btinternet.com
Mon Feb 22 23:22:08 CET 2010
"Olufemi Onanuga" <femilangy at yahoo.co.uk> wrote
> I am trying to write and test a function to meet the following
> specifications
>
> drawFace(center,size,win),center is a point,size is an int,
> and win is a GraphWin.Draws a simple face of the given size in win.
>
> I want the function to be able to draw three differnet faces in a single
> window,when i invoke drawFace(center,size,win) into def main().
Good for you. It sounds like an excellent practice exercise in using a GUI
toolkit.
(Or even ASCII art in curses!)
BTW Which GUI toolkit are you using?
And which widget within it?
Is it the Canvas in Tkinter?
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list